From bee4f5f14be8708b85efd5fda6a8c1b03214a08f Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 12 Jul 2010 15:10:09 +0200 Subject: make the accordeons default closed --- templates/apps/userprofile/home.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/apps/userprofile/home.html b/templates/apps/userprofile/home.html index d635e53..fa81009 100644 --- a/templates/apps/userprofile/home.html +++ b/templates/apps/userprofile/home.html @@ -4,10 +4,14 @@ $(function() { $("#gravatar").append($.gravatar($('#email').text())); $("#memberships").accordion({ - header: 'h3' + header: 'h3', + collapsible: true, + active: false }); $("#names").accordion({ - header: 'h3' + header: 'h3', + collapsible: true, + active: false }); }); -- cgit v1.1