diff options
author | Colin Snover <github.com@zetafleet.com> | 2010-12-30 01:16:39 -0600 |
---|---|---|
committer | Colin Snover <github.com@zetafleet.com> | 2010-12-30 01:23:08 -0600 |
commit | 4eeae8b0bc789ad525e98568cffb37b04b27ae84 (patch) | |
tree | 2d1bb9ece610433fbc232cf1175e0617ade7071c /src/effects.js | |
parent | 3e0cc815043c2425819743e907a0ce263a7ce164 (diff) | |
download | jquery-4eeae8b0bc789ad525e98568cffb37b04b27ae84.tar.gz jquery-4eeae8b0bc789ad525e98568cffb37b04b27ae84.zip |
Remove patch for very early versions of Opera 9 that made it impossible to animate values smaller than -10000. Fixes #7193. Thanks to igorw for initial patch & test case.
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 5f3a035fc..bd57ffc3d 100644 --- a/src/effects.js +++ b/src/effects.js @@ -337,7 +337,7 @@ jQuery.fx.prototype = { } var r = parseFloat( jQuery.css( this.elem, this.prop ) ); - return r && r > -10000 ? r : 0; + return r || 0; }, // Start an animation from one number to another |