aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2010-10-25 12:36:40 -0700
committerJohn Resig <jeresig@gmail.com>2010-10-25 12:36:40 -0700
commit36143ce63359cc64ebac696f27e4e7968caee902 (patch)
tree11e6e2063ae28603bbfa48af6af64287f72cc1f5 /src
parent9bd9ebdd73fe0e2d29fadf82947c98adde4023e7 (diff)
parent1a2400de08a762c854e02865603d4f14f9f1c6cc (diff)
downloadjquery-36143ce63359cc64ebac696f27e4e7968caee902.tar.gz
jquery-36143ce63359cc64ebac696f27e4e7968caee902.zip
Merge branch 'unusedTrue' of http://github.com/lrbabe/jquery into lrbabe-unusedTrue
Diffstat (limited to 'src')
-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);
}