]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fix: use correct event name - closes #11989 11990/head
authorKyle Rumble <kylerumble@gmail.com>
Fri, 7 Feb 2020 08:11:32 +0000 (00:11 -0800)
committerDaniel Ruf <d.ruf@bitexpert.de>
Fri, 7 Feb 2020 08:28:48 +0000 (09:28 +0100)
js/foundation.dropdownMenu.js

index a696982ebf67d2f9f37545bf7100386af2b98349..ef2875be8278f39466156cbf1a64d408aaf09bd9 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) {