From bde3f879987140c2a56d52896b065ef35d9b2d05 Mon Sep 17 00:00:00 2001 From: Jordan Humphreys Date: Thu, 28 Feb 2013 15:22:30 -0800 Subject: [PATCH] Make sure largest height is recorded to data attribute. --- js/foundation/foundation.topbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/foundation/foundation.topbar.js b/js/foundation/foundation.topbar.js index 23df5bc8d..dd61adffe 100644 --- a/js/foundation/foundation.topbar.js +++ b/js/foundation/foundation.topbar.js @@ -172,7 +172,7 @@ largest.children('li').each(function () { total += self.outerHeight($(this), true); }); - this.settings.height = total; + this.settings.$topbar.data('height', total); }, sticky : function () { -- 2.47.3