Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make $.fn.animate compatible with jQuery.cssHooks

  • Loading branch information...
commit aa9e4db1ab5cd6f514de616070829d64d69a3428 1 parent 2866f16
lrbabe authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/effects.js
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.