mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
Fixed the giant negative number issue that Opera was having.
This commit is contained in:
parent
23e255015f
commit
7caca06cfc
@ -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 New Issue
Block a user