mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7bd0df408d
commit
7bd5ec28ae
@@ -266,8 +266,7 @@ export function initialize(): void {
|
||||
message_list_tooltip(".message-list .message-time", {
|
||||
onShow(instance) {
|
||||
const $time_elem = $(instance.reference);
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||
const $row = $time_elem.closest(".message_row") as JQuery;
|
||||
const $row = $time_elem.closest(".message_row");
|
||||
assert(message_lists.current !== undefined);
|
||||
const message = message_lists.current.get(rows.id($row))!;
|
||||
// Don't show time tooltip for locally echoed message.
|
||||
|
||||
Reference in New Issue
Block a user