From fc5291291bcea7a4dd5fc07fcd6a7b4e55ae55c0 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 4 Apr 2011 14:22:54 -0400 Subject: Accordion: When simulating events, make sure we use DOM elements, not jQuery objects. --- ui/jquery.ui.accordion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/jquery.ui.accordion.js') 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, -- cgit v1.2.3