From: Jeremy Englert Date: Sun, 11 Feb 2018 22:32:22 +0000 (-0700) Subject: Fix: dropdown menu event names X-Git-Tag: v6.6.0~45^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec24cb7705d8262cbe82318152493c361d61913c;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix: dropdown menu event names --- diff --git a/js/foundation.dropdownMenu.js b/js/foundation.dropdownMenu.js index 573116140..9eeac8420 100644 --- a/js/foundation.dropdownMenu.js +++ b/js/foundation.dropdownMenu.js @@ -310,7 +310,7 @@ class DropdownMenu extends Plugin { if (this.options.closeOnClick) { this._addBodyHandler(); } /** * Fires when the new dropdown pane is visible. - * @event DropdownMenu#show + * @event Dropdownmenu#show */ this.$element.trigger('show.zf.dropdownmenu', [$sub]); } @@ -352,7 +352,7 @@ class DropdownMenu extends Plugin { } /** * Fires when the open menus are closed. - * @event DropdownMenu#hide + * @event Dropdownmenu#hide */ this.$element.trigger('hide.zf.dropdownmenu', [$toClose]); }