diff options
author | Vitaly Takmazov | 2016-08-12 18:00:16 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-08-12 18:00:16 +0300 |
commit | 9598ef6f6c9538c9244c62e79d26d5d1d61230c1 (patch) | |
tree | 03a9163993ca7f14d1be01a8d5fb75b9f2fea230 | |
parent | 22a728a5fed472c9b6c0d60c7b18d485d29d05b8 (diff) |
juick-www: postformlistener in thread
-rw-r--r-- | juick-www/src/main/static/scripts.js | 3 |
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) { |