]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
remove some unused var from getHeightsByRow 7483/head
authorjk <j.koehler@modulingo.de>
Sat, 12 Dec 2015 09:45:55 +0000 (10:45 +0100)
committerjk <j.koehler@modulingo.de>
Sat, 12 Dec 2015 09:45:55 +0000 (10:45 +0100)
js/foundation.equalizer.js

index b6e93bb51a731ae4d8982c4126b93f921a6b9f77..c24c5ff539ea41dbc0ea28cb2fc7fca12a6928c5 100644 (file)
    * @returns {Array} groups - An array of heights of children within Equalizer container grouped by row with element,height and max as last child
    */
   Equalizer.prototype.getHeightsByRow = function(cb) {
-    var eqGroup = this.$watched,
-        firstTopOffset = this.$watched.first().offset().top,
-        lastElTopOffset = firstTopOffset,
+    var lastElTopOffset = this.$watched.first().offset().top,
         groups = [],
         group = 0;
     //group by Row