Ok, self[...] was BS, switching to window[...], bug #1748.
This commit is contained in:
parent
5421dfdea9
commit
5736e8d90d
|
@ -1296,7 +1296,7 @@ jQuery.each([ "Height", "Width" ], function(i, name){
|
|||
jQuery.browser.opera && document.body[ "client" + name ] ||
|
||||
|
||||
// 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
|
||||
document.compatMode == "CSS1Compat" && document.documentElement[ "client" + name ] || document.body[ "client" + name ] :
|
||||
|
|
Loading…
Reference in a new issue