]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Missing $elem parameter on _hide method when handling leaf elements clicks on dropdow...
authorAlberto Fernandez Gonzalez <bertus@Albertos-MacBook-Pro.local>
Wed, 21 Dec 2016 14:56:37 +0000 (09:56 -0500)
committerAlberto Fernandez Gonzalez <bertus@Albertos-MacBook-Pro.local>
Wed, 21 Dec 2016 14:56:37 +0000 (09:56 -0500)
fix #9484

js/foundation.dropdownMenu.js

index 2fdc59a4dff997a1e57e6f6b8e6a940f58f07166..baaeb9fc85428d6ad02c2394a90f5ce7fe5d4ae6 100644 (file)
@@ -108,7 +108,7 @@ class DropdownMenu {
         var $elem = $(this),
             hasSub = $elem.hasClass(parClass);
         if(!hasSub){
-          _this._hide();
+          _this._hide($elem);
         }
       });
     }