Skip to content
Permalink
Browse files

accordion: trigger changestart event when the animation starts (imple…

…ments 2932)
  • Loading branch information...
Paul Bakaus
Paul Bakaus committed Sep 18, 2008
1 parent 51e0cdf commit 7651fb4158018cac461ce008013f60e7fa0d5e54
Showing with 2 additions and 0 deletions.
  1. +2 −0 ui/ui.accordion.js
@@ -121,6 +121,8 @@ function toggle(toShow, toHide, data, clickedActive, down) {
options.data = data;
var complete = scopeCallback(completed, this);

$.data(this, "accordion")._trigger("changestart", null, options.data);

// count elements to animate
options.running = toHide.size() === 0 ? toShow.size() : toHide.size();

0 comments on commit 7651fb4

Please sign in to comment.
You can’t perform that action at this time.