]> source.dussan.org Git - jquery.git/commitdiff
.cur() doesn't take any boolean parameter since 1.4.3 74/head
authorlrbabe <lrbabe@lrbabe-laptop.(none)>
Mon, 25 Oct 2010 15:19:45 +0000 (17:19 +0200)
committerlrbabe <lrbabe@lrbabe-laptop.(none)>
Mon, 25 Oct 2010 15:19:45 +0000 (17:19 +0200)
src/effects.js

index d7896c0e02e43c563dfc2fe46cf11056d17f442f..44a7942e359345d0faea3cf3bdc40e7ed2ef0e54 100644 (file)
@@ -174,7 +174,7 @@ jQuery.fn.extend({
 
                                } else {
                                        var parts = rfxnum.exec(val),
-                                               start = e.cur(true) || 0;
+                                               start = e.cur() || 0;
 
                                        if ( parts ) {
                                                var end = parseFloat( parts[2] ),
@@ -183,7 +183,7 @@ jQuery.fn.extend({
                                                // We need to compute starting value
                                                if ( unit !== "px" ) {
                                                        jQuery.style( self, name, (end || 1) + unit);
-                                                       start = ((end || 1) / e.cur(true)) * start;
+                                                       start = ((end || 1) / e.cur()) * start;
                                                        jQuery.style( self, name, start + unit);
                                                }