aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/ui.widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/ui.widgets.js b/js/lib/ui.widgets.js
index ebece5a59..73b7f46cc 100644
--- a/js/lib/ui.widgets.js
+++ b/js/lib/ui.widgets.js
@@ -33,7 +33,7 @@ elgg.ui.widgets.init = function() {
event.preventDefault();
});
- $('.widgets_add_panel a').bind('click', function(event) {
+ $('.widgets_add_panel li.widget_available').bind('click', function(event) {
elgg.action('widgets/add', {
data: {
handler: $(this).attr('id'),