From: John Resig Date: Mon, 25 Oct 2010 20:05:11 +0000 (-0700) Subject: Merge branch 'master' of http://github.com/rwldrn/jquery X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=ee845c49758eeb5236d9e4520b7921e12d5f29b9;hp=3b50eaca2cd0b1439235e39c4e98a6438e8f55b2;p=jquery.git Merge branch 'master' of github.com/rwldrn/jquery --- diff --git a/src/effects.js b/src/effects.js index d7896c0..44a7942 100644 --- a/src/effects.js +++ b/src/effects.js @@ -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); }