Commit c652568a authored by JC Brand's avatar JC Brand

Clear color after submitting a corrected message

parent 5d64f4c7
...@@ -70280,6 +70280,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ ...@@ -70280,6 +70280,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
} }
textarea.value = ''; textarea.value = '';
u.removeClass('correcting', textarea);
textarea.focus(); // Trigger input event, so that the textarea resizes textarea.focus(); // Trigger input event, so that the textarea resizes
const event = document.createEvent('Event'); const event = document.createEvent('Event');
...@@ -900,6 +900,7 @@ ...@@ -900,6 +900,7 @@
hint_el.value = ''; hint_el.value = '';
} }
textarea.value = ''; textarea.value = '';
u.removeClass('correcting', textarea);
textarea.focus(); textarea.focus();
// Trigger input event, so that the textarea resizes // Trigger input event, so that the textarea resizes
const event = document.createEvent('Event'); const event = document.createEvent('Event');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment