mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion - Removed easeslide animation. Fixes #4204 - Easeslide does not work (Accordion).
This commit is contained in:
parent
6ca335f94c
commit
15788355fa
@ -335,7 +335,7 @@ $.widget("ui.accordion", {
|
||||
duration = o.duration,
|
||||
easing = o.animated;
|
||||
|
||||
if (easing && !$.ui.accordion.animations[easing] && !$.easing[easing]) {
|
||||
if (easing && !animations[easing] && !$.easing[easing]) {
|
||||
easing = 'slide';
|
||||
}
|
||||
if (!animations[easing]) {
|
||||
@ -472,12 +472,6 @@ $.extend($.ui.accordion, {
|
||||
easing: options.down ? "easeOutBounce" : "swing",
|
||||
duration: options.down ? 1000 : 200
|
||||
});
|
||||
},
|
||||
easeslide: function(options) {
|
||||
this.slide(options, {
|
||||
easing: "easeinout",
|
||||
duration: 700
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user