diff options
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; } |