message_edit_history: Fix implicit use of any.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-05-06 13:58:31 -07:00 committed by Tim Abbott
parent 0c11a842c1
commit 0a30bb9ee8
1 changed files with 7 additions and 3 deletions

View File

@ -311,7 +311,11 @@ export function initialize(): void {
}
});
$("body").on("focus", "#message-history-overlay .overlay-message-info-box", (e) => {
messages_overlay_ui.activate_element(e.target, keyboard_handling_context);
});
$("body").on(
"focus",
"#message-history-overlay .overlay-message-info-box",
function (this: HTMLElement) {
messages_overlay_ui.activate_element(this, keyboard_handling_context);
},
);
}