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:
ubaidrmn
2025-03-18 04:02:35 +05:00
committed by Tim Abbott
parent e18a87ce6c
commit 5f4753256b
3 changed files with 3 additions and 3 deletions

View File

@@ -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();
}