diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-26 08:16:19 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-26 08:16:19 -0400 |
commit | 32387e6db0c56935e93314217b52eab4d9dca016 (patch) | |
tree | cc468b538fe31a26b08516755a651e860800aef9 /js | |
parent | 2f3b6a8aebc55009f066a49b2d9aaa12dc5be008 (diff) | |
download | elgg-32387e6db0c56935e93314217b52eab4d9dca016.tar.gz elgg-32387e6db0c56935e93314217b52eab4d9dca016.tar.bz2 |
Fixes #3470 using rel=toggle now
Diffstat (limited to 'js')
-rw-r--r-- | js/lib/ui.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js index 89a996122..fd20acbd1 100644 --- a/js/lib/ui.js +++ b/js/lib/ui.js @@ -11,7 +11,7 @@ elgg.ui.init = function () { $('.elgg-system-messages li').animate({opacity: 0.9}, 6000); $('.elgg-system-messages li').fadeOut('slow'); - $('.elgg-toggler').live('click', elgg.ui.toggles); + $('[rel=toggle]').live('click', elgg.ui.toggles); $('[rel=popup]').live('click', elgg.ui.popsUp); @@ -27,8 +27,8 @@ elgg.ui.init = function () { /** * Toggles an element based on clicking a separate element * - * Use .elgg-toggler on the toggler element - * Set the href to target the item you want to toggle (<a class="elgg-toggler" href="#id-of-target">) + * Use rel="toggle" on the toggler element + * Set the href to target the item you want to toggle (<a rel="toggle" href="#id-of-target">) * * @param {Object} event * @return void |