diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2013-01-15 23:09:35 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-01-15 23:34:22 -0500 |
commit | 10cc33e27beb56e41bea1274bc3b51b1c59af9af (patch) | |
tree | c0831dedb86da9f755073bfde5fb140e81bcd7bc /src/css.js | |
parent | 86278d40ae86ecd45786eebcb20b72564f2bb53f (diff) | |
download | jquery-10cc33e27beb56e41bea1274bc3b51b1c59af9af.tar.gz jquery-10cc33e27beb56e41bea1274bc3b51b1c59af9af.zip |
Fix #13183: Wrong animation initial value calc. Ref gh-1136.
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js index 2a7172759..e2dcb5018 100644 --- a/src/css.js +++ b/src/css.js @@ -263,7 +263,7 @@ jQuery.extend({ } // Return, converting to number if forced or a qualifier was provided and val looks numeric - if ( extra ) { + if ( extra === "" || extra ) { num = parseFloat( val ); return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; } |