diff options
author | 2017-03-01 17:47:08 +0300 | |
---|---|---|
committer | 2017-03-01 17:47:08 +0300 | |
commit | e65231c9069599ac88835dda733a924535e164fa (patch) | |
tree | 3ce2c876925844b458e3e83226f41bcb0abc7552 | |
parent | 3b460c49a7cbca72f367bc44ca111b2a508d0cac (diff) |
juick-www: fix pm issues (width and ctrl-enter)
-rw-r--r-- | juick-www/src/main/static/scripts.js | 3 | ||||
-rw-r--r-- | juick-www/src/main/static/style.css | 4 |
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; |