]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fix: use the right event namespace for dropdown menu
authorDaniel Ruf <daniel.ruf@ueberbit.de>
Wed, 6 Mar 2019 07:34:28 +0000 (08:34 +0100)
committerkball <kball@zendev.com>
Tue, 13 Aug 2019 23:29:23 +0000 (16:29 -0700)
js/foundation.dropdownMenu.js

index ef2875be8278f39466156cbf1a64d408aaf09bd9..a696982ebf67d2f9f37545bf7100386af2b98349 100644 (file)
@@ -150,7 +150,7 @@ class DropdownMenu extends Plugin {
             _this._show($elem.children('.is-dropdown-submenu'));
           }, _this.options.hoverDelay));
         }
-      }).on('mouseleave.zf.dropdownMenu', ignoreMousedisappear(function (e) {
+      }).on('mouseleave.zf.dropdownmenu', ignoreMousedisappear(function (e) {
         var $elem = $(this),
             hasSub = $elem.hasClass(parClass);
         if (hasSub && _this.options.autoclose) {