diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-01-19 21:47:23 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-01-19 22:36:08 -0500 |
commit | 135bb4ff812d9f97b961670ad9c4ed9d14f333bb (patch) | |
tree | 43af456110dfb79c5dc143e8a465bb90291d6e39 /src/offset.js | |
parent | 8d9025ca50603e5404c6b50f7fa6c87046ee24c1 (diff) | |
download | jquery-135bb4ff812d9f97b961670ad9c4ed9d14f333bb.tar.gz jquery-135bb4ff812d9f97b961670ad9c4ed9d14f333bb.zip |
Add undef:true to JSHint now that it understands hoisting
also add smarttabs:true and fix some smarttabs spacing issues
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 a8b80fabe..6433a5b7a 100644 --- a/src/offset.js +++ b/src/offset.js @@ -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 { |