aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-26 03:27:48 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-26 03:27:48 +0000
commit16e883b67a6c3481dd5bfca6d8016cd36349c59b (patch)
tree686da4c8cc1c9c45d181fff92596e573adebe382 /js
parent980b0d1a0615ab34e26261b32975416f131ee24b (diff)
downloadelgg-16e883b67a6c3481dd5bfca6d8016cd36349c59b.tar.gz
elgg-16e883b67a6c3481dd5bfca6d8016cd36349c59b.tar.bz2
one too many parents in the widget collapse code
git-svn-id: http://code.elgg.org/elgg/trunk@7935 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js')
-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 b99570d04..922029c34 100644
--- a/js/lib/ui.widgets.js
+++ b/js/lib/ui.widgets.js
@@ -143,7 +143,7 @@ elgg.ui.widgets.remove = function(event) {
*/
elgg.ui.widgets.collapseToggle = function(event) {
$(this).toggleClass('elgg-widget-collapsed');
- $(this).parent().parent().parent().find('.elgg-body').slideToggle('medium');
+ $(this).parent().parent().find('.elgg-body').slideToggle('medium');
event.preventDefault();
}