]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix #8631 - Equalizer events in UpperCase 9445/head
authorNicolas Coden <nicolas@ncoden.fr>
Sun, 4 Dec 2016 18:30:12 +0000 (19:30 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Sun, 4 Dec 2016 18:30:12 +0000 (19:30 +0100)
Update the doc about Equalizer events.

js/foundation.equalizer.js

index c52187a03f08862c43254fce5a08cfba7ce7d3a7..0c619df7ac3fcfa2ce952facb96023a63d09e287 100644 (file)
@@ -236,8 +236,8 @@ class Equalizer {
    * Changes the CSS height property of each child in an Equalizer parent to match the tallest by row
    * @param {array} groups - An array of heights of children within Equalizer container grouped by row with element,height and max as last child
    * @fires Equalizer#preequalized
-   * @fires Equalizer#preequalizedRow
-   * @fires Equalizer#postequalizedRow
+   * @fires Equalizer#preequalizedrow
+   * @fires Equalizer#postequalizedrow
    * @fires Equalizer#postequalized
    */
   applyHeightByRow(groups) {
@@ -254,7 +254,7 @@ class Equalizer {
       }
       /**
         * Fires before the heights per row are applied
-        * @event Equalizer#preequalizedRow
+        * @event Equalizer#preequalizedrow
         */
       this.$element.trigger('preequalizedrow.zf.equalizer');
       for (var j = 0, lenJ = (groupsILength-1); j < lenJ ; j++) {
@@ -262,7 +262,7 @@ class Equalizer {
       }
       /**
         * Fires when the heights per row have been applied
-        * @event Equalizer#postequalizedRow
+        * @event Equalizer#postequalizedrow
         */
       this.$element.trigger('postequalizedrow.zf.equalizer');
     }