aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-04-04 14:22:54 -0400
committerScott González <scott.gonzalez@gmail.com>2011-04-04 14:22:54 -0400
commitfc5291291bcea7a4dd5fc07fcd6a7b4e55ae55c0 (patch)
tree9a08c02670d53822afa22b6e0744ee080aac468d /ui/jquery.ui.accordion.js
parent9a1d8891b73573a9fb373476576362f36c0accd3 (diff)
downloadjquery-ui-fc5291291bcea7a4dd5fc07fcd6a7b4e55ae55c0.tar.gz
jquery-ui-fc5291291bcea7a4dd5fc07fcd6a7b4e55ae55c0.zip
Accordion: When simulating events, make sure we use DOM elements, not jQuery objects.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index c658d4dbb..455c66a28 100644
--- a/ui/jquery.ui.accordion.js
+++ b/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,