aboutsummaryrefslogtreecommitdiffstats
path: root/src/dimensions.js
diff options
context:
space:
mode:
authorMichał Z. Gołębiowski <michal.golebiowski@laboratorium.ee>2013-03-12 21:06:25 -0400
committerTimmy Willison <timmywillisn@gmail.com>2013-03-12 21:06:25 -0400
commit79992d752393d80822a4f8be2b7bec3ecdd60f6a (patch)
tree2c97c4bda379e70501b15f106f5efa241c220fe3 /src/dimensions.js
parentae3524642c54ec4df09733de03c169f4fd43ac34 (diff)
downloadjquery-79992d752393d80822a4f8be2b7bec3ecdd60f6a.tar.gz
jquery-79992d752393d80822a4f8be2b7bec3ecdd60f6a.zip
Edited comments and minor adjustments. Fixes #13553. Closes gh-1195.
Diffstat (limited to 'src/dimensions.js')
-rw-r--r--src/dimensions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dimensions.js b/src/dimensions.js
index 9e4d5729d..ae59fb05d 100644
--- a/src/dimensions.js
+++ b/src/dimensions.js
@@ -20,8 +20,8 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
if ( elem.nodeType === 9 ) {
doc = elem.documentElement;
- // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest
- // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it.
+ // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],
+ // whichever is greatest
return Math.max(
elem.body[ "scroll" + name ], doc[ "scroll" + name ],
elem.body[ "offset" + name ], doc[ "offset" + name ],