Class animation: Fixed handling of duration.

This commit is contained in:
Scott González 2011-05-12 21:03:42 -04:00
parent ea403891b9
commit 7550018260

View File

@ -261,7 +261,7 @@ $.effects.animateClass = function( value, duration, easing, callback ) {
dfd = $.Deferred(); dfd = $.Deferred();
this.el.animate( this.diff, { this.el.animate( this.diff, {
duration: duration, duration: o.duration,
easing: o.easing, easing: o.easing,
queue: false, queue: false,
complete: function() { complete: function() {