Skip to content

Commit

Permalink
Accordion - Removed easeslide animation. Fixes #4204 - Easeslide does…
Browse files Browse the repository at this point in the history
… not work (Accordion).
  • Loading branch information
scottgonzalez committed Apr 18, 2009
1 parent 6ca335f commit 1578835
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ui/ui.accordion.js
Expand Up @@ -335,7 +335,7 @@ $.widget("ui.accordion", {
duration = o.duration, duration = o.duration,
easing = o.animated; easing = o.animated;


if (easing && !$.ui.accordion.animations[easing] && !$.easing[easing]) { if (easing && !animations[easing] && !$.easing[easing]) {
easing = 'slide'; easing = 'slide';
} }
if (!animations[easing]) { if (!animations[easing]) {
Expand Down Expand Up @@ -472,12 +472,6 @@ $.extend($.ui.accordion, {
easing: options.down ? "easeOutBounce" : "swing", easing: options.down ? "easeOutBounce" : "swing",
duration: options.down ? 1000 : 200 duration: options.down ? 1000 : 200
}); });
},
easeslide: function(options) {
this.slide(options, {
easing: "easeinout",
duration: 700
});
} }
} }
}); });
Expand Down

0 comments on commit 1578835

Please sign in to comment.