"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.
// 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);
});
}