]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Clean up fixed class 4956/head
authorJon Thomas <jon@analyticl.com>
Fri, 11 Apr 2014 01:46:41 +0000 (20:46 -0500)
committerJon Thomas <jon@analyticl.com>
Fri, 11 Apr 2014 01:46:41 +0000 (20:46 -0500)
I was wrong the first time. Apparently we do need to clean up the "fixed" class. That should do it.

js/foundation/foundation.magellan.js

index 372bed4e7b6bc7626a2d39d183dfd3af76c00a3a..1dceef6c94e8e4276a0a7cc406c19c35a931d6e1 100644 (file)
@@ -98,7 +98,7 @@
           expedition.css({position:'fixed', top: 0}).addClass('fixed');
         } else {
           expedition.prev('[' + self.add_namespace('data-magellan-expedition-clone') + ']').remove();
-          expedition.attr('style','');
+          expedition.attr('style','').removeClass('fixed');
         }
       });
     },