Clear color after submitting a corrected message
This commit is contained in:
parent
5d64f4c704
commit
c652568a03
1
dist/converse.js
vendored
1
dist/converse.js
vendored
@ -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 @@
|
|||||||
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');
|
||||||
|
Loading…
Reference in New Issue
Block a user