]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #10929 from zurb/docs-fix-dropdown-menu-events for v6.5.0
authorJeremy Englert <jeremy@cmsadgroup.com>
Sat, 16 Jun 2018 07:15:55 +0000 (09:15 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 16 Jun 2018 07:15:55 +0000 (09:15 +0200)
ec24cb770 Fix: dropdown menu event names

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
js/foundation.dropdownMenu.js

index 573116140b7aedb6b2b75ef839b961d7f97a1981..9eeac84206b4723fe46550e8e782c626294b99d4 100644 (file)
@@ -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]);
     }