Commit 7caca06c authored by John Resig's avatar John Resig

Fixed the giant negative number issue that Opera was having.

parent 23e25501
...@@ -415,7 +415,8 @@ jQuery.extend({ ...@@ -415,7 +415,8 @@ jQuery.extend({
// Get the current size // Get the current size
z.cur = function(){ 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 // Start an animation from one number to another
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment