summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
});
}