]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix obvious typo causing styles not to be saved 8066/head
authorLucjan Suski <lucjansuski@gmail.com>
Wed, 3 Feb 2016 12:20:31 +0000 (13:20 +0100)
committerLucjan Suski <lucjansuski@gmail.com>
Wed, 3 Feb 2016 12:20:31 +0000 (13:20 +0100)
js/foundation/foundation.magellan.js

index c2d4ce9948ace345cc2e515df1f5eaf0d11e2b83..caff838225fcb5710c5ee69cda8babcbdb9450ab 100644 (file)
@@ -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', '');