From a3ab2b223b8d7494bf860396975868644b3e89cb Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Wed, 14 Jul 2010 19:39:29 +0200 Subject: Add support for multiple events, along with hoverintent demo. Fixes #3614 - Accordion: support multiple events being set at the same time --- 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 6bda009e3..bcb0452bb 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -117,7 +117,7 @@ $.widget("ui.accordion", { this.headers.find('a').attr('tabIndex','-1'); if (o.event) { - this.headers.bind((o.event) + ".accordion", function(event) { + this.headers.bind(o.event.split(" ").join(".accordion ") + ".accordion", function(event) { self._clickHandler.call(self, event, this); event.preventDefault(); }); -- cgit v1.2.3