Clear color after submitting a corrected message

This commit is contained in:
JC Brand 2018-08-09 16:33:25 +02:00
parent 5d64f4c704
commit c652568a03
2 changed files with 2 additions and 0 deletions

1
dist/converse.js vendored
View File

@ -70280,6 +70280,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
}
textarea.value = '';
u.removeClass('correcting', textarea);
textarea.focus(); // Trigger input event, so that the textarea resizes
const event = document.createEvent('Event');

View File

@ -900,6 +900,7 @@
hint_el.value = '';
}
textarea.value = '';
u.removeClass('correcting', textarea);
textarea.focus();
// Trigger input event, so that the textarea resizes
const event = document.createEvent('Event');