Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #28 from CHH/patch-1
Browse files Browse the repository at this point in the history
'float' appears to be a reserved word and needs quoting
  • Loading branch information
Anthony Garand committed Dec 5, 2012
2 parents e20b5df + 5ea9ccd commit e9829da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.sticky.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
}

if (stickyElement.css("float") == "right") {
stickyElement.css({float:"none"}).parent().css({float:"right"});
stickyElement.css({"float":"none"}).parent().css({"float":"right"});
}

var stickyWrapper = stickyElement.parent();
Expand Down

0 comments on commit e9829da

Please sign in to comment.