mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	sidebar_ui: Avoid jQuery sizzle extension :visible.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							c248459af2
						
					
				
				
					commit
					acf23f73a6
				
			@@ -100,7 +100,7 @@ export function show_streamlist_sidebar(): void {
 | 
				
			|||||||
export function show_left_sidebar(): void {
 | 
					export function show_left_sidebar(): void {
 | 
				
			||||||
    if (
 | 
					    if (
 | 
				
			||||||
        // Check if left column is a overlay and is not visible.
 | 
					        // Check if left column is a overlay and is not visible.
 | 
				
			||||||
        $("#streamlist-toggle").is(":visible") &&
 | 
					        $("#streamlist-toggle").css("display") !== "none" &&
 | 
				
			||||||
        !left_sidebar_expanded_as_overlay
 | 
					        !left_sidebar_expanded_as_overlay
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        popovers.hide_all();
 | 
					        popovers.hide_all();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user