summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-21 21:47:44 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-21 21:47:44 +1000
commit763f28f07ce2d514ce8f6aef036c95e2b70e7f5c (patch)
treeb49dc38662bc50bc1c58dd65af2f3b96d3abf704 /js
parent0f777519e306af50d576adc9b4967aeeba1440dc (diff)
"Post looks automated" bug
Diffstat (limited to 'js')
-rw-r--r--js/quick-reply.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js
index d60a3a82..6ef6815d 100644
--- a/js/quick-reply.js
+++ b/js/quick-reply.js
@@ -375,8 +375,8 @@
// Honestly, I'm not sure why we need setTimeout() here, but it seems to work.
// Same for the "tmp" variable stuff you see inside here:
setTimeout(function() {
- var tmp = $('#quick-reply textarea').val();
- $('#quick-reply textarea').val('').focus().val(tmp);
+ var tmp = $('#quick-reply textarea[name="body"]').val();
+ $('#quick-reply textarea[name="body"]').val('').focus().val(tmp);
}, 1);
});
}