diff --git a/boards/static/js/thread.js b/boards/static/js/thread.js --- a/boards/static/js/thread.js +++ b/boards/static/js/thread.js @@ -80,6 +80,9 @@ function addQuickReply(postId) { } showFormAfter(blockToInsert); } + + var textarea = document.getElementsByTagName('textarea')[0]; + moveCaretToEnd(textarea); } function addQuickQuote(postId) { @@ -107,6 +110,7 @@ function addQuickQuote(postId) { textAreaJq.val(textAreaJq.val()+ textToAdd); textAreaJq.focus(); + var textarea = document.getElementsByTagName('textarea')[0]; moveCaretToEnd(textarea); }