diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/css.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js index 9e72073eb..403516e0f 100644 --- a/src/css.js +++ b/src/css.js @@ -290,7 +290,9 @@ if ( window.getComputedStyle ) { if ( computed ) { - ret = computed[ name ]; + // getPropertyValue is only needed for .css('filter') in IE9, see #12537 + ret = computed.getPropertyValue( name ) || computed[ name ]; + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { ret = jQuery.style( elem, name ); } |