]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion - Removed easeslide animation. Fixes #4204 - Easeslide does not work ...
authorScott González <scott.gonzalez@gmail.com>
Sat, 18 Apr 2009 02:32:11 +0000 (02:32 +0000)
committerScott González <scott.gonzalez@gmail.com>
Sat, 18 Apr 2009 02:32:11 +0000 (02:32 +0000)
ui/ui.accordion.js

index 42ac3f082bc975dcd82133b5f0f310cdf38d0e11..baf6e9f9bb61b207c4314102da762eeb3e237199 100644 (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
-                       });
                }
        }
 });