Fixed the giant negative number issue that Opera was having.
This commit is contained in:
parent
23e255015f
commit
7caca06cfc
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue