From: Alberto Fernandez Gonzalez Date: Wed, 21 Dec 2016 14:56:37 +0000 (-0500) Subject: Missing $elem parameter on _hide method when handling leaf elements clicks on dropdow... X-Git-Tag: v6.3.1-rc1~27^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf1597ff9d11d56054d13f388dec2905ee23e46;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Missing $elem parameter on _hide method when handling leaf elements clicks on dropdown menus. fix #9484 --- diff --git a/js/foundation.dropdownMenu.js b/js/foundation.dropdownMenu.js index 2fdc59a4d..baaeb9fc8 100644 --- a/js/foundation.dropdownMenu.js +++ b/js/foundation.dropdownMenu.js @@ -108,7 +108,7 @@ class DropdownMenu { var $elem = $(this), hasSub = $elem.hasClass(parClass); if(!hasSub){ - _this._hide(); + _this._hide($elem); } }); }