aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www')
-rw-r--r--juick-www/src/main/static/scripts.js3
-rw-r--r--juick-www/src/main/static/style.css4
2 files changed, 3 insertions, 4 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index 8432c18a..636e7be8 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -587,6 +587,9 @@ ready(function () {
};
document.querySelectorAll('textarea.replypm').forEach(function (e) {
e.addEventListener('click', insertPMButtons);
+ e.addEventListener('keypress', function(e) {
+ postformListener(e.target, e);
+ });
});
}
diff --git a/juick-www/src/main/static/style.css b/juick-www/src/main/static/style.css
index 46af7b81..e3f2959a 100644
--- a/juick-www/src/main/static/style.css
+++ b/juick-www/src/main/static/style.css
@@ -276,9 +276,6 @@ article .tags>a, .msg-tags>a {
overflow: hidden;
width: 700px;
}
-.msg {
- margin: 10px 0 20px 0;
-}
.ads {
background: #FFF;
margin: 8px 0 16px 58px;
@@ -303,7 +300,6 @@ article .tags>a, .msg-tags>a {
line-height: 140%;
margin-bottom: 20px;
padding: 20px;
- width: 640px;
}
.msg-menu {
float: right;