git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2866f16
)
Make $.fn.animate compatible with jQuery.cssHooks
author
lrbabe
<lrbabe@lrbabe-laptop.(none)>
Mon, 11 Oct 2010 14:08:38 +0000
(16:08 +0200)
committer
lrbabe
<lrbabe@lrbabe-laptop.(none)>
Mon, 11 Oct 2010 14:08:38 +0000
(16:08 +0200)
src/effects.js
patch
|
blob
|
history
diff --git
a/src/effects.js
b/src/effects.js
index
241dbd0
..
8c0985b
100644
(file)
--- a/
src/effects.js
+++ b/
src/effects.js
@@
-181,9
+181,9
@@
jQuery.fn.extend({
// We need to compute starting value
if ( unit !== "px" ) {
- self.style[ name ] = (end || 1) + unit;
+ jQuery.style( self, name, (end || 1) + unit);
start = ((end || 1) / e.cur(true)) * start;
- self.style[ name ] = start + unit;
+ jQuery.style( self, name, start + unit);
}
// If a +=/-= token was provided, we're doing a relative animation