From d3f46436999b7326e88986daa5a99516430dbf15 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 6 Aug 2009 21:02:22 -0700 Subject: * Rename setContents -> show_album to be consistent style wise (no camel caps) and more explicit about what it's doing. * use toggleClass() to simplify the +/- css management. --- modules/organize/js/organize.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'modules/organize/js/organize.js') diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js index 4c45b007..d2006c27 100644 --- a/modules/organize/js/organize.js +++ b/modules/organize/js/organize.js @@ -16,26 +16,22 @@ }); $(".gBranchText span").click($.organize.collapse_or_expand_tree); - $(".gBranchText").click($.organize.setContents); + $(".gBranchText").click($.organize.show_album); }, /** - * Open or close a branch. If the children is a div placeholder, replace with - -- cgit v1.2.3