From: Kyle Rumble Date: Fri, 7 Feb 2020 08:11:32 +0000 (-0800) Subject: fix: use correct event name - closes #11989 X-Git-Tag: v6.6.2^2~3^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F11990%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fix: use correct event name - closes #11989 --- diff --git a/js/foundation.dropdownMenu.js b/js/foundation.dropdownMenu.js index a696982eb..ef2875be8 100644 --- a/js/foundation.dropdownMenu.js +++ b/js/foundation.dropdownMenu.js @@ -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) {