aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/lib/ui.widgets.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/lib/ui.widgets.js b/js/lib/ui.widgets.js
index cf13d6e95..f4fa4b256 100644
--- a/js/lib/ui.widgets.js
+++ b/js/lib/ui.widgets.js
@@ -9,6 +9,12 @@ elgg.ui.widgets.init = function() {
placeholder: 'widget_placeholder'
});
+ $('#widget_add_button a').bind('click', function(event) {
+ $('.widgets_add').slideToggle('medium');
+ event.preventDefault();
+ });
+
+
};
//List active widgets for each page column