mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
input: Remove usage of propertychange event.
The `propertychange` event is deprecated and was only supported in older versions of Internet Explorer. This commit removes all instances of `propertychange` event.
This commit is contained in:
@@ -71,7 +71,7 @@ export function initialize() {
|
||||
compose_ui.handle_keyup(event, $("textarea#compose-textarea").expectOne());
|
||||
});
|
||||
|
||||
$("textarea#compose-textarea").on("input propertychange", () => {
|
||||
$("textarea#compose-textarea").on("input", () => {
|
||||
if ($("#compose").hasClass("preview_mode")) {
|
||||
compose.render_preview_area();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user