From e0caf37125bc8bdaac3b6532bcbd7985fe9b8814 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Sun, 7 Oct 2018 22:45:58 +0200 Subject: [PATCH] docs: update namespace for DropdownMenu events Since https://github.com/zurb/foundation-sites/pull/10965, DrodpdownMenu events are in CamelCase. --- js/foundation.dropdownMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]); } -- 2.47.2