]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Make sure largest height is recorded to data attribute.
authorJordan Humphreys <jordan@mailyard.net>
Thu, 28 Feb 2013 23:22:30 +0000 (15:22 -0800)
committerJordan Humphreys <jordan@mailyard.net>
Thu, 28 Feb 2013 23:22:30 +0000 (15:22 -0800)
js/foundation/foundation.topbar.js

index 23df5bc8df9259f763ca1bca0d5f2d774cdac4ce..dd61adffee2a56b2376aafc83a9cd0a904def500 100644 (file)
 
       largest.children('li').each(function () { total += self.outerHeight($(this), true); });
 
-      this.settings.height = total;
+      this.settings.$topbar.data('height', total);
     },
 
     sticky : function () {