diff options
author | Corey Frang <gnarf@gnarf.net> | 2012-07-20 18:36:55 -0500 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2012-07-20 18:36:55 -0500 |
commit | 94924a05dec8513f285411491702900bb741713e (patch) | |
tree | fe3ee491411e71df36f3ed7c0f76365e0492a1e7 /src/effects.js | |
parent | 30168722204633e49ca9d47ecb6b43d80a4653a4 (diff) | |
download | jquery-94924a05dec8513f285411491702900bb741713e.tar.gz jquery-94924a05dec8513f285411491702900bb741713e.zip |
Fix the logic to set overflow:hidden on width & height animations - Fixes #12117 - Closes gh-869
Diffstat (limited to 'src/effects.js')
-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 |