Skip to content
Permalink
Browse files

.cur() doesn't take any boolean parameter since 1.4.3

  • Loading branch information
lrbabe
lrbabe committed Oct 25, 2010
1 parent 4fcfee4 commit 1a2400de08a762c854e02865603d4f14f9f1c6cc
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);
}

0 comments on commit 1a2400d

Please sign in to comment.
You can’t perform that action at this time.