From: Nicolas Coden Date: Sun, 7 Oct 2018 20:45:58 +0000 (+0200) Subject: docs: update namespace for DropdownMenu events X-Git-Tag: v6.6.0~3^2~88^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11525%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: update namespace for DropdownMenu events Since https://github.com/zurb/foundation-sites/pull/10965, DrodpdownMenu events are in CamelCase. --- diff --git a/js/foundation.dropdownMenu.js b/js/foundation.dropdownMenu.js index 6bec5b369..ef2875be8 100644 --- a/js/foundation.dropdownMenu.js +++ b/js/foundation.dropdownMenu.js @@ -320,7 +320,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]); } @@ -368,7 +368,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]); }