Fix for #1779
This commit is contained in:
parent
a5f95c88c1
commit
0f5c1d15e9
|
@ -846,7 +846,7 @@ jQuery.extend({
|
||||||
// one special, otherwise get the value
|
// one special, otherwise get the value
|
||||||
ret = name == "display" && swap[ stack.length - 1 ] != null ?
|
ret = name == "display" && swap[ stack.length - 1 ] != null ?
|
||||||
"none" :
|
"none" :
|
||||||
document.defaultView.getComputedStyle( elem, null ).getPropertyValue( name ) || "";
|
( getComputedStyle && getComputedStyle.getPropertyValue( name ) ) || "";
|
||||||
|
|
||||||
// Finally, revert the display styles back
|
// Finally, revert the display styles back
|
||||||
for ( var i = 0; i < swap.length; i++ )
|
for ( var i = 0; i < swap.length; i++ )
|
||||||
|
|
Loading…
Reference in a new issue