aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-03-26 04:45:09 +0100
committerDave Methvin <dave.methvin@gmail.com>2013-04-03 21:21:23 -0400
commit5aaa276e9e0041d099c954fc2744f0797e3893b0 (patch)
tree92dae845c6d5ffb5b50e86fb6ccc4eea6bdcbd49 /src/support.js
parent8db7d6f20b4226994e88d1cd9243743c492773f5 (diff)
downloadjquery-5aaa276e9e0041d099c954fc2744f0797e3893b0.tar.gz
jquery-5aaa276e9e0041d099c954fc2744f0797e3893b0.zip
Remove an unused support check, correct a comment. Close gh-1211.
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index b80957a39..67ba005dc 100644
--- a/src/support.js
+++ b/src/support.js
@@ -85,7 +85,6 @@ jQuery.support = (function( support ) {
jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() {
support.boxSizing = div.offsetWidth === 4;
});
- support.doesNotIncludeMarginInBodyOffset = body.offsetTop !== 1;
// Use window.getComputedStyle because jsdom on node.js will break without it.
if ( window.getComputedStyle ) {