From c1682ab23cb92eea25377d095899799cbd1fccae Mon Sep 17 00:00:00 2001 From: James Campos Date: Thu, 29 Sep 2011 17:06:46 -0700 Subject: [PATCH] fix --- 4chan_x.user.js | 1 + script.coffee | 1 + 2 files changed, 2 insertions(+) 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()