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;
|
easing = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.each(function() {
|
return this.queue('fx', function() {
|
||||||
$.queue(this, 'fx', function() {
|
|
||||||
var that = $(this),
|
var that = $(this),
|
||||||
originalStyleAttr = that.attr('style') || ' ',
|
originalStyleAttr = that.attr('style') || ' ',
|
||||||
originalStyle = filterStyles(getElementStyles.call(this)),
|
originalStyle = filterStyles(getElementStyles.call(this)),
|
||||||
@ -268,7 +267,6 @@ $.effects.animateClass = function(value, duration, easing, callback) {
|
|||||||
queue.splice(1, 0, anim);
|
queue.splice(1, 0, anim);
|
||||||
$.dequeue(this);
|
$.dequeue(this);
|
||||||
});
|
});
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
$.fn.extend({
|
$.fn.extend({
|
||||||
|
Loading…
Reference in New Issue
Block a user