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.

sidebar_ui: Avoid jQuery sizzle extension :visible.

Anders Kaseorgacf23f73a66a
diff --git a/web/src/sidebar_ui.ts b/web/src/sidebar_ui.ts
index 1afdbdea997..3a3889e8e79 100644
--- a/web/src/sidebar_ui.ts
+++ b/web/src/sidebar_ui.ts
@@ -100,7 +100,7 @@ export function show_streamlist_sidebar(): void {
export function show_left_sidebar(): void {
if (
// 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
) {
popovers.hide_all();