Skip to content

Commit

Permalink
Merge pull request #11990 from iamcanadian1973/iamcanadian1973-patch-…
Browse files Browse the repository at this point in the history
…dropdownMenu-case-fix

fix: use correct event name - closes #11989
  • Loading branch information
joeworkman authored Mar 27, 2020
2 parents 1d1f0e4 + ee6f0d9 commit ddaa9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/foundation.dropdownMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,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) {
Expand Down

0 comments on commit ddaa9f1

Please sign in to comment.