"Post looks automated" bug

This commit is contained in:
Michael Foster 2013-09-21 21:47:44 +10:00
parent 0f777519e3
commit 763f28f07c

View File

@ -375,8 +375,8 @@
// Honestly, I'm not sure why we need setTimeout() here, but it seems to work. // 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: // Same for the "tmp" variable stuff you see inside here:
setTimeout(function() { setTimeout(function() {
var tmp = $('#quick-reply textarea').val(); var tmp = $('#quick-reply textarea[name="body"]').val();
$('#quick-reply textarea').val('').focus().val(tmp); $('#quick-reply textarea[name="body"]').val('').focus().val(tmp);
}, 1); }, 1);
}); });
} }