Skip to content
Permalink
Browse files

Accordion: When simulating events, make sure we use DOM elements, not…

… jQuery objects.
  • Loading branch information...
scottgonzalez committed Apr 4, 2011
1 parent 9a1d889 commit fc5291291bcea7a4dd5fc07fcd6a7b4e55ae55c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.accordion.js
@@ -275,7 +275,7 @@ $.widget( "ui.accordion", {
}

// trying to collapse, simulate a click on the currently active header
active = active || this.active;
active = active || this.active[ 0 ];

this._eventHandler({
target: active,

0 comments on commit fc52912

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