diff options
Diffstat (limited to 'ui/ui.accordion.js')
-rw-r--r-- | ui/ui.accordion.js | 3 |
1 files changed, 3 insertions, 0 deletions
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, { |