diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/effects.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects.js b/src/effects.js index f28ef9418..22e79f1ba 100644 --- a/src/effects.js +++ b/src/effects.js @@ -269,7 +269,7 @@ function defaultPrefilter( elem, props, opts ) { } // height/width overflow pass - if ( elem.nodeType === 1 && ( props.height || props.width ) ) { + if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { // Make sure that nothing sneaks out // Record all 3 overflow attributes because IE does not // change the overflow attribute when overflowX and |