fix: dont clear input if there is an error

main
Barış Soner Uşaklı 5 years ago
parent 9bc6861b4c
commit 245359b656

@ -39,7 +39,7 @@ define('persona/quickreply', ['components', 'composer/autocomplete'], function(c
socket.emit('posts.reply', replyData, function(err, data) {
if (err) {
app.alertError(err.message);
return app.alertError(err.message);
}
if (data && data.queued) {
app.alertSuccess(data.message);

Loading…
Cancel
Save