diff options
Diffstat (limited to 'juick-www/src/main')
-rw-r--r-- | juick-www/src/main/static/scripts.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js index 321de92d..ecef6f1a 100644 --- a/juick-www/src/main/static/scripts.js +++ b/juick-www/src/main/static/scripts.js @@ -725,14 +725,10 @@ ready(function () { e.preventDefault(); }); }); - document.querySelectorAll('.l .a-comment').forEach(function (e) { - e.addEventListener('click', function (e) { - showCommentFooter( - e.target, - e.target.closest('article').getAttribute('data-mid')); - e.preventDefault(); - }); - }); + let threadTextarea = document.querySelector('.msgthread .ta-wrapper textarea'); + if (threadTextarea) { + threadTextarea.focus(); + } document.querySelectorAll('.l .a-privacy').forEach(function (e) { e.addEventListener('click', function (e) { setPrivacy( |