aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-09-18 12:38:15 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-09-18 12:38:15 +0000
commitaee81963ba7a43618c176cd78276f3c0c8c6745c (patch)
tree384477f26c34f8fa232538686357d79f5576ce05 /src/core.js
parent537d7ca86902df1d2b61155d2822c7552030d846 (diff)
downloadjquery-aee81963ba7a43618c176cd78276f3c0c8c6745c.tar.gz
jquery-aee81963ba7a43618c176cd78276f3c0c8c6745c.zip
Use document.compatMode for quirks test in width/height method
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 960af446f..e3dc01c05 100644
--- a/src/core.js
+++ b/src/core.js
@@ -1123,7 +1123,7 @@ jQuery.each( [ "Height", "Width" ], function(i,name){
jQuery.browser.safari && self["inner" + name] ||
// Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode
- jQuery.boxModel && document.documentElement["client" + name] || document.body["client" + name] :
+ document.compatMode == "CSS1Compat" && document.documentElement["client" + name] || document.body["client" + name] :
// Get document width or height
this[0] == document ?