mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +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
|
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user