Permalink
Browse files

Merge pull request #20 from askedrelic/master

Fix for broken scrolling in Chrome,Safari
  • Loading branch information...
christophercliff committed May 30, 2011
2 parents 4b9583a + 3d6ef87 commit 9b023e8798f0e649e14ab579a3713f23b12cdaf8
Showing with 1 addition and 2 deletions.
  1. +1 −2 jquery.sausage.js
View
@@ -256,10 +256,9 @@
// Travel at 2 px per 1 ms but never longer than 1 s.
duration = (duration < 1000) ? duration : 1000;
- //// TODO: Animate scrollTop fails on `window`, research this
if (self.$outer.get(0) === window)
{
- $outer = $('html, document');
+ $outer = $('body, html, document');
}
$outer

0 comments on commit 9b023e8

Please sign in to comment.