diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 03:27:48 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 03:27:48 +0000 |
commit | 16e883b67a6c3481dd5bfca6d8016cd36349c59b (patch) | |
tree | 686da4c8cc1c9c45d181fff92596e573adebe382 /js | |
parent | 980b0d1a0615ab34e26261b32975416f131ee24b (diff) | |
download | elgg-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.js | 2 |
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(); } |