Skip to content
Permalink
Browse files

Fixed the giant negative number issue that Opera was having.

  • Loading branch information
jeresig committed Aug 24, 2006
1 parent 23e2550 commit 7caca06cfc28fab22ec9c3a2d1363fec8d8c1951
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/fx/fx.js
@@ -415,7 +415,8 @@ jQuery.extend({

// Get the current size
z.cur = function(){
return parseFloat( jQuery.curCSS(z.el, prop) ) || z.max();
var r = parseFloat( jQuery.curCSS(z.el, prop) );
return r && r > -10000 ? r : z.max();
};

// Start an animation from one number to another

0 comments on commit 7caca06

Please sign in to comment.
You can’t perform that action at this time.