diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-10-22 13:28:51 -0400 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-10-22 13:29:43 -0400 |
commit | bede0123d99ed41ef2214edde795927e2a777f8a (patch) | |
tree | 80ecc9bb03338459f179c80f2da77644152ffadd /src/offset.js | |
parent | 227c49a4596423a125bdcb1d25a2263e526360db (diff) | |
download | jquery-bede0123d99ed41ef2214edde795927e2a777f8a.tar.gz jquery-bede0123d99ed41ef2214edde795927e2a777f8a.zip |
new JSHINT mixed spaces/tabs is smart enough to not warn on multiline comments, rendering smarttabs useless
Diffstat (limited to 'src/offset.js')
-rw-r--r-- | src/offset.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/offset.js b/src/offset.js index 6a2fdc993..385d8c743 100644 --- a/src/offset.js +++ b/src/offset.js @@ -172,7 +172,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 { |