aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlrbabe <lrbabe@lrbabe-laptop.(none)>2010-10-25 17:19:45 +0200
committerlrbabe <lrbabe@lrbabe-laptop.(none)>2010-10-25 17:19:45 +0200
commit1a2400de08a762c854e02865603d4f14f9f1c6cc (patch)
tree47ee829efd93d974c91c820d725328fe278764d9
parent4fcfee4369d184d26ef819c34412fb8d9b09962c (diff)
downloadjquery-1a2400de08a762c854e02865603d4f14f9f1c6cc.tar.gz
jquery-1a2400de08a762c854e02865603d4f14f9f1c6cc.zip
.cur() doesn't take any boolean parameter since 1.4.3
-rw-r--r--src/effects.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects.js b/src/effects.js
index d7896c0e0..44a7942e3 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);
}