aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-07-14 19:39:29 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-07-14 19:39:50 +0200
commita3ab2b223b8d7494bf860396975868644b3e89cb (patch)
tree6683f7d450ad2f1edecbb28abd26aa50301bcac4 /ui/jquery.ui.accordion.js
parent66659a12400b45dc490a8089e30a3ad9d2b72a02 (diff)
downloadjquery-ui-a3ab2b223b8d7494bf860396975868644b3e89cb.tar.gz
jquery-ui-a3ab2b223b8d7494bf860396975868644b3e89cb.zip
Add support for multiple events, along with hoverintent demo. Fixes #3614 - Accordion: support multiple events being set at the same time
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 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();
});