Ok, self[...] was BS, switching to window[...], bug #1748.
This commit is contained in:
parent
5421dfdea9
commit
5736e8d90d
1 changed files with 1 additions and 1 deletions
|
@ -1296,7 +1296,7 @@ jQuery.each([ "Height", "Width" ], function(i, name){
|
||||||
jQuery.browser.opera && document.body[ "client" + name ] ||
|
jQuery.browser.opera && document.body[ "client" + name ] ||
|
||||||
|
|
||||||
// Safari reports inner[Width/Height] just fine (Mozilla and Opera include scroll bar widths)
|
// Safari reports inner[Width/Height] just fine (Mozilla and Opera include scroll bar widths)
|
||||||
jQuery.browser.safari && self[ "inner" + name ] ||
|
jQuery.browser.safari && window[ "inner" + name ] ||
|
||||||
|
|
||||||
// Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode
|
// Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode
|
||||||
document.compatMode == "CSS1Compat" && document.documentElement[ "client" + name ] || document.body[ "client" + name ] :
|
document.compatMode == "CSS1Compat" && document.documentElement[ "client" + name ] || document.body[ "client" + name ] :
|
||||||
|
|
Loading…
Add table
Reference in a new issue