mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Effects: Fixed queueing of class animations. Fixes #6748 - animateClass broken in 1.8.7.
This commit is contained in:
parent
b475ae74df
commit
cba92afe25
4
ui/jquery.effects.core.js
vendored
4
ui/jquery.effects.core.js
vendored
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user