Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
input: Remove usage of `propertychange` event.
ubaidrmn5f4753256b6d
diff --git a/web/src/compose_setup.js b/web/src/compose_setup.jsindex a58330eb2d8..824be6b5311 100644--- a/web/src/compose_setup.js+++ b/web/src/compose_setup.js@@ -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();}diff --git a/web/src/message_edit.ts b/web/src/message_edit.tsindex 550c4259a2a..e940098c099 100644--- a/web/src/message_edit.ts+++ b/web/src/message_edit.ts@@ -620,7 +620,7 @@ function edit_message($row: JQuery, raw_content: string): void {}});- $form.on("input propertychange", () => {+ $form.on("input", () => {compose_validate.check_overflow_text($row);});diff --git a/web/src/settings_org.ts b/web/src/settings_org.tsindex 504721c75a2..6c4b93f9bcd 100644--- a/web/src/settings_org.ts+++ b/web/src/settings_org.ts@@ -952,7 +952,7 @@ export function deactivate_organization(e: JQuery.Event): void {});$("#custom-realm-deletion-time").on(- "input propertychange",+ "input",".custom-time-input-value, .custom-time-input-unit",() => {custom_deletion_time_input = util.check_time_input(