From e65231c9069599ac88835dda733a924535e164fa Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 1 Mar 2017 17:47:08 +0300 Subject: juick-www: fix pm issues (width and ctrl-enter) --- juick-www/src/main/static/scripts.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'juick-www/src/main/static/scripts.js') 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); + }); }); } -- cgit v1.2.3