From 775fead48969047e9770b325a3b6a25bbad35835 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 11 Feb 2018 08:44:18 +0300 Subject: www: post form fixes --- juick-www/src/main/static/scripts.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js index ff617330..6a2ba370 100644 --- a/juick-www/src/main/static/scripts.js +++ b/juick-www/src/main/static/scripts.js @@ -650,6 +650,11 @@ ready(function () { postformListener(e.target, e); }); }); + document.querySelectorAll('#postmsg textarea').forEach(function (e) { + e.addEventListener('keypress', function (e) { + postformListener(e.target, e); + }); + }); var content = document.getElementById('content'); if (content) { -- cgit v1.2.3