aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-12 18:00:16 +0300
committerGravatar Vitaly Takmazov2016-08-12 18:00:16 +0300
commit9598ef6f6c9538c9244c62e79d26d5d1d61230c1 (patch)
tree03a9163993ca7f14d1be01a8d5fb75b9f2fea230 /juick-www/src
parent22a728a5fed472c9b6c0d60c7b18d485d29d05b8 (diff)
juick-www: postformlistener in thread
Diffstat (limited to 'juick-www/src')
-rw-r--r--juick-www/src/main/static/scripts.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index 0c701359..ee0c0912 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -556,6 +556,9 @@ ready(function () {
};
document.querySelectorAll('textarea.reply').forEach(function(e) {
e.addEventListener('click', insertButtons);
+ e.addEventListener('keypress', function(e) {
+ postformListener(e.target, e);
+ });
});
var insertPMButtons = function (e) {