Fix #10692. JSLint is dead! Long live JSHint!

Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
This commit is contained in:
Mike Sherov
2011-12-08 20:42:47 -05:00
committed by Dave Methvin
parent d6500cc8de
commit 98386cfd77
10 changed files with 4323 additions and 5570 deletions

View File

@@ -227,7 +227,7 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me
if ( win ) {
win.scrollTo(
!top ? val : jQuery( win ).scrollLeft(),
top ? val : jQuery( win ).scrollTop()
top ? val : jQuery( win ).scrollTop()
);
} else {