Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
popup_banners: Don't trigger fade out if the banner is not present.
Aman Agrawaldb07086b2655
diff --git a/web/src/popup_banners.ts b/web/src/popup_banners.tsindex b494cfd17df..46c45570739 100644--- a/web/src/popup_banners.ts+++ b/web/src/popup_banners.ts@@ -66,6 +66,10 @@ export function open_found_missing_unreads_banner(on_jump_to_first_unread: () =>export function close_found_missing_unreads_banner(): void {const $banner = $("#popup_banners_wrapper").find(".found-missing-unreads");+ if ($banner.length === 0) {+ return;+ }+fade_out_popup_banner($banner);}