-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #12375: stop using document.body.scrollTop #12377
Conversation
…the strict mode
Have you tested that this doesn't break any of the non-Chrome browsers? |
It works nice in Chrome, Firefox and Opera, not tested in IE and Safari. 2014-01-25 Chris Rebert [email protected]
Zlatan Vasović - ZDroid |
nice |
Ref: 2014-01-26 roymps [email protected]
Zlatan Vasović - ZDroid |
Can't merge unless this gets tested in IE & Safari. |
Green Travis build (including Sauce) isn't enough? ;P Can you test this on Safari, I don't have OS X? |
The Sauce build is a no-op unless the PR branch is in the twbs/bootstrap repo. |
OK. Note: this variant should theoretically work everywhere because it uses |
I will try this on IE. |
Seems to work fine in IE8-10; I see the The PR needs rebasing BTW. |
lgtm 👍 |
Seems to work on Safari too. |
Removes
document.body.scrollTop
as it's deprecated in the strict mode.Fixes #12375.
/cc @fat