From: Jon Thomas Date: Fri, 11 Apr 2014 01:46:41 +0000 (-0500) Subject: Clean up fixed class X-Git-Tag: v5.2.3~57^2~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4956%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Clean up fixed class I was wrong the first time. Apparently we do need to clean up the "fixed" class. That should do it. --- diff --git a/js/foundation/foundation.magellan.js b/js/foundation/foundation.magellan.js index 372bed4e7..1dceef6c9 100644 --- a/js/foundation/foundation.magellan.js +++ b/js/foundation/foundation.magellan.js @@ -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'); } }); },