diff --git a/4chan_x.user.js b/4chan_x.user.js index aba59d483..e9db8594b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1604,6 +1604,7 @@ QR.stats(); $.add(d.body, qr); ta = $('textarea', qr); + ta.value = text; l = text.length; ta.setSelectionRange(l, l); return ta.focus(); diff --git a/script.coffee b/script.coffee index fc0874b33..d77172822 100644 --- a/script.coffee +++ b/script.coffee @@ -1192,6 +1192,7 @@ QR = QR.stats() $.add d.body, qr ta = $ 'textarea', qr + ta.value = text l = text.length ta.setSelectionRange l, l ta.focus()