From e3986d1599a0568088f114fe79c66b9d575d887a Mon Sep 17 00:00:00 2001 From: Damian Frizzi Date: Tue, 11 Nov 2014 15:58:09 +0100 Subject: [PATCH] Update foundation.topbar.js --- js/foundation/foundation.topbar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/foundation/foundation.topbar.js b/js/foundation/foundation.topbar.js index 24539f45d..884b0086a 100644 --- a/js/foundation/foundation.topbar.js +++ b/js/foundation/foundation.topbar.js @@ -229,11 +229,11 @@ } }); - S(window).off(".topbar").on("resize.fndtn.topbar", self.throttle(function() { + S(window).off('.topbar').on('resize.fndtn.topbar', self.throttle(function() { self.resize.call(self); - }, 50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){ + }, 50)).trigger('resize').trigger('resize.fndtn.topbar').load(function(){ // Ensure that the offset is calculated after all of the pages resources have loaded - S(this).trigger("resize.fndtn.topbar"); + S(this).trigger('resize.fndtn.topbar'); }); S('body').off('.topbar').on('click.fndtn.topbar', function (e) { -- 2.47.2