diff options
Diffstat (limited to 'juick-www')
-rw-r--r-- | juick-www/src/main/static/scripts.js | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |