Effects: Fixed queueing of class animations. Fixes #6748 - animateClass broken in 1.8.7.

This commit is contained in:
Scott González 2010-12-14 09:02:00 -05:00
parent b475ae74df
commit cba92afe25

View File

@ -231,8 +231,7 @@ $.effects.animateClass = function(value, duration, easing, callback) {
easing = null;
}
return this.each(function() {
$.queue(this, 'fx', function() {
return this.queue('fx', function() {
var that = $(this),
originalStyleAttr = that.attr('style') || ' ',
originalStyle = filterStyles(getElementStyles.call(this)),
@ -268,7 +267,6 @@ $.effects.animateClass = function(value, duration, easing, callback) {
queue.splice(1, 0, anim);
$.dequeue(this);
});
});
};
$.fn.extend({