Commit 0f5c1d15 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fix for #1779

parent a5f95c88
......@@ -846,7 +846,7 @@ jQuery.extend({
// one special, otherwise get the value
ret = name == "display" && swap[ stack.length - 1 ] != null ?
"none" :
document.defaultView.getComputedStyle( elem, null ).getPropertyValue( name ) || "";
( getComputedStyle && getComputedStyle.getPropertyValue( name ) ) || "";
// Finally, revert the display styles back
for ( var i = 0; i < swap.length; i++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment