diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index c7e55f5c8..42ac3f082 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -335,6 +335,9 @@ $.widget("ui.accordion", { duration = o.duration, easing = o.animated; + if (easing && !$.ui.accordion.animations[easing] && !$.easing[easing]) { + easing = 'slide'; + } if (!animations[easing]) { animations[easing] = function(options) { this.slide(options, {