From 6b65ecdabaf06f41c213552dd3d5c9b5194be33d Mon Sep 17 00:00:00 2001 From: Lucjan Suski Date: Wed, 3 Feb 2016 13:20:31 +0100 Subject: [PATCH] Fix obvious typo causing styles not to be saved --- js/foundation/foundation.magellan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/foundation/foundation.magellan.js b/js/foundation/foundation.magellan.js index c2d4ce994..caff83822 100644 --- a/js/foundation/foundation.magellan.js +++ b/js/foundation/foundation.magellan.js @@ -80,7 +80,7 @@ $('[' + this.attr_name() + '=fixed]', self.scope).each(function (idx, el) { var expedition = $(this), settings = expedition.data('magellan-expedition-init'), - styles = expedition.attr('styles'), // save styles + styles = expedition.attr('style'), // save styles top_offset, fixed_top; expedition.attr('style', ''); -- 2.47.2