]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix: dropdown menu event names 10929/head
authorJeremy Englert <jeremy@cmsadgroup.com>
Sun, 11 Feb 2018 22:32:22 +0000 (15:32 -0700)
committerJeremy Englert <jeremy@cmsadgroup.com>
Sun, 11 Feb 2018 22:32:22 +0000 (15:32 -0700)
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]);
     }