aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/static
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-11 08:44:18 +0300
committerGravatar Vitaly Takmazov2018-02-11 11:20:30 +0300
commit775fead48969047e9770b325a3b6a25bbad35835 (patch)
tree138615df6e759adf591147ddbc2216b112f5ff1b /juick-www/src/main/static
parenta24c9598aa7a95c3369db5f1c746af0ddda05f5f (diff)
www: post form fixes
Diffstat (limited to 'juick-www/src/main/static')
-rw-r--r--juick-www/src/main/static/scripts.js5
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) {