summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-12-13 15:45:39 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-12-13 15:45:39 +0100
commit90d3f91df7851b97f07b903f353497742f80d325 (patch)
tree19c69be5514940878f65799c814e9b44a1384676 /hyperkitty/static
parenteab3d767b65982e1e04c5538c0d2827f26230fca (diff)
downloadhyperkitty-90d3f91df7851b97f07b903f353497742f80d325.tar.gz
hyperkitty-90d3f91df7851b97f07b903f353497742f80d325.tar.xz
hyperkitty-90d3f91df7851b97f07b903f353497742f80d325.zip
Fix quoting in the message view
Refs: #24
Diffstat (limited to 'hyperkitty/static')
-rw-r--r--hyperkitty/static/css/style.css2
-rw-r--r--hyperkitty/static/js/hyperkitty.js9
2 files changed, 10 insertions, 1 deletions
diff --git a/hyperkitty/static/css/style.css b/hyperkitty/static/css/style.css
index 57b8fcf..9ac592a 100644
--- a/hyperkitty/static/css/style.css
+++ b/hyperkitty/static/css/style.css
@@ -709,8 +709,8 @@ ul.attachments-list li {
margin-top: 5px;
}
+.first_email_body .quoted-text,
.email_body .quoted-text {
- display: none;
border-left: 2px solid rgb(55, 113, 200);
padding-left: 0.2em;
}
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();
});