1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 01:34:31 +01:00

"Post looks automated" bug

This commit is contained in:
Michael Foster 2013-09-21 21:47:44 +10:00
parent a7a67f0e4f
commit 185c1e13fb

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);
});
}