mirror of https://github.com/zulip/zulip.git
condense: Fix implicit use of any.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
9c6c09b6e0
commit
e9d0e43668
|
@ -259,7 +259,7 @@ export function condense_and_collapse(elems: JQuery): 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
|
||||
// uncondensing it.
|
||||
const $row = $(this).closest(".message_row");
|
||||
|
@ -284,7 +284,7 @@ export function initialize(): void {
|
|||
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 id = rows.id($row);
|
||||
// Focus on the condensed message.
|
||||
|
|
Loading…
Reference in New Issue