Accordion - Removed easeslide animation. Fixes #4204 - Easeslide does not work (Accordion).

This commit is contained in:
Scott González 2009-04-18 02:32:11 +00:00
parent 6ca335f94c
commit 15788355fa

View File

@ -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
});
}
}
});