diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-12-13 15:45:39 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-12-13 15:45:39 +0100 |
commit | 90d3f91df7851b97f07b903f353497742f80d325 (patch) | |
tree | 19c69be5514940878f65799c814e9b44a1384676 /hyperkitty/static/js/hyperkitty.js | |
parent | eab3d767b65982e1e04c5538c0d2827f26230fca (diff) | |
download | hyperkitty-90d3f91df7851b97f07b903f353497742f80d325.tar.gz hyperkitty-90d3f91df7851b97f07b903f353497742f80d325.tar.xz hyperkitty-90d3f91df7851b97f07b903f353497742f80d325.zip |
Fix quoting in the message view
Refs: #24
Diffstat (limited to 'hyperkitty/static/js/hyperkitty.js')
-rw-r--r-- | hyperkitty/static/js/hyperkitty.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hyperkitty/static/js/hyperkitty.js b/hyperkitty/static/js/hyperkitty.js index c709bce..c4a1bbe 100644 --- a/hyperkitty/static/js/hyperkitty.js +++ b/hyperkitty/static/js/hyperkitty.js @@ -153,6 +153,14 @@ function setup_attachments() { }); } +function setup_quotes() { + $('div.email_body .quoted-switch a') + .add('div.first_email_body .quoted-switch a') + .click(function() { + $(this).parent().next(".quoted-text").slideToggle('fast'); + return false; + }); +} /* @@ -163,4 +171,5 @@ $(document).ready(function() { setup_vote(); setup_attachments(); setup_add_tag(); + setup_quotes(); }); |