mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	popup_banners: Don't trigger fade out if the banner is not present.
This commit is contained in:
		@@ -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);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user