From: Daniel Ruf Date: Wed, 6 Mar 2019 07:34:28 +0000 (+0100) Subject: fix: use the right event namespace for dropdown menu X-Git-Tag: v6.6.0~3^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69a535ca23794d44546888c1fbcd2c7bc47d754;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fix: use the right event namespace for dropdown menu --- diff --git a/js/foundation.dropdownMenu.js b/js/foundation.dropdownMenu.js index ef2875be8..a696982eb 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) {