aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-01 17:47:08 +0300
committerGravatar Vitaly Takmazov2017-03-01 17:47:08 +0300
commite65231c9069599ac88835dda733a924535e164fa (patch)
tree3ce2c876925844b458e3e83226f41bcb0abc7552 /juick-www
parent3b460c49a7cbca72f367bc44ca111b2a508d0cac (diff)
juick-www: fix pm issues (width and ctrl-enter)
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;