From cd1a2d5f2ec738ab2f17c86dcabe8733a682aa4f Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 4 Oct 2012 12:02:52 +0200 Subject: Improve attachments display --- hyperkitty/templates/thread.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'hyperkitty/templates/thread.html') diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html index 2730db9..a3d8c8b 100644 --- a/hyperkitty/templates/thread.html +++ b/hyperkitty/templates/thread.html @@ -110,7 +110,11 @@ alert('You need to login in order to add tag'); {% endif %} }); - + + $("ul.email_info li.attachments ul.attachments-list").hide(); + $("ul.email_info li.attachments > a").click(function() { + $(this).next("ul").fadeToggle('fast'); + }); }); -- cgit