condense: Fix implicit use of any.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-05-02 14:44:32 -07:00 committed by Tim Abbott
parent 9c6c09b6e0
commit e9d0e43668
1 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ export function condense_and_collapse(elems: JQuery): void {
} }
export function initialize(): void { export function initialize(): void {
$("#message_feed_container").on("click", ".message_expander", function (e) { $("#message_feed_container").on("click", ".message_expander", function (this: HTMLElement, e) {
// Expanding a message can mean either uncollapsing or // Expanding a message can mean either uncollapsing or
// uncondensing it. // uncondensing it.
const $row = $(this).closest(".message_row"); const $row = $(this).closest(".message_row");
@ -284,7 +284,7 @@ export function initialize(): void {
e.preventDefault(); e.preventDefault();
}); });
$("#message_feed_container").on("click", ".message_condenser", function (e) { $("#message_feed_container").on("click", ".message_condenser", function (this: HTMLElement, e) {
const $row = $(this).closest(".message_row"); const $row = $(this).closest(".message_row");
const id = rows.id($row); const id = rows.id($row);
// Focus on the condensed message. // Focus on the condensed message.