Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_list_tooltips: Fix observer type.

Anders Kaseorgcc7b667d5766
diff --git a/web/src/message_list_tooltips.ts b/web/src/message_list_tooltips.ts
index 7d82867cce1..f3f7424876c 100644
--- a/web/src/message_list_tooltips.ts
+++ b/web/src/message_list_tooltips.ts
@@ -157,7 +157,7 @@ export function initialize(): void {
});
// message reaction tooltip showing who reacted.
- let observer: MutationObserver;
+ let observer: MutationObserver | undefined;
message_list_tooltip(".message_reaction", {
delay: INTERACTIVE_HOVER_DELAY,
placement: "bottom",