Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dropdown destroy method #9381

Merged
merged 1 commit into from
Feb 1, 2018
Merged

Commits on Nov 16, 2016

  1. Fix dropdown destroy method

    This fixes issue foundation#9339. When destroying a dropdown menu, the dropdown
    classes wouldn’t be removed if using a different class structure (for
    instance, using custom class names instead of `.menu`). Previous
    versions selected all child elements of the menu but on the latest
    version only direct `li` childs or  elements with `.menu` class
    
    This commit ensures `ul` elements also get the classes removed, for
    those cases where custom classes are used.
    diniscorreia committed Nov 16, 2016
    Configuration menu
    Copy the full SHA
    f3f24fe View commit details
    Browse the repository at this point in the history