diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-05-25 19:59:29 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-05-25 19:59:29 -0400 |
commit | bdce86dc2edb43267ec5c4b7aab6d1932f294d6f (patch) | |
tree | 9f9925839685dfc9b8e2883078d8a9fca482e11b /src/css.js | |
parent | edb2286544270dc53550180e06668e61c231fb5d (diff) | |
download | jquery-bdce86dc2edb43267ec5c4b7aab6d1932f294d6f.tar.gz jquery-bdce86dc2edb43267ec5c4b7aab6d1932f294d6f.zip |
Move window/document test to dimensions for consistency
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/css.js b/src/css.js index 10d36b765..e3ab270fc 100644 --- a/src/css.js +++ b/src/css.js @@ -170,11 +170,6 @@ jQuery.each(["height", "width"], function( i, name ) { get: function( elem, computed, extra ) { var val; - // Tests for window/document - if ( !elem.style ) { - return null; - } - if ( computed ) { if ( elem.offsetWidth !== 0 ) { val = getWH( elem, name, extra ); |