mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Effect core: Making animate class cross-frame safe, style guidence
This commit is contained in:
parent
ac8a19b62d
commit
dda67fc171
4
ui/jquery.effects.core.js
vendored
4
ui/jquery.effects.core.js
vendored
@ -171,8 +171,8 @@ $.each([ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopS
|
||||
});
|
||||
|
||||
function getElementStyles() {
|
||||
var style = document.defaultView
|
||||
? document.defaultView.getComputedStyle(this, null)
|
||||
var style = this.ownerDocument.defaultView
|
||||
? this.ownerDocument.defaultView.getComputedStyle( this, null )
|
||||
: this.currentStyle,
|
||||
newStyle = {},
|
||||
key,
|
||||
|
Loading…
Reference in New Issue
Block a user