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.

popovers: Use sidebar-menu-icon utility class.

Karl Stolleyb168d4911c8a
diff --git a/web/src/stream_popover.js b/web/src/stream_popover.js
index 989a705f261..d45be624e66 100644
--- a/web/src/stream_popover.js
+++ b/web/src/stream_popover.js
@@ -35,7 +35,7 @@ let $stream_header_colorblock;
// Keep the menu icon over which the popover is based off visible.
function show_left_sidebar_menu_icon(element) {
- $(element).closest("[class*='-sidebar-menu-icon']").addClass("left_sidebar_menu_icon_visible");
+ $(element).closest(".sidebar-menu-icon").addClass("left_sidebar_menu_icon_visible");
}
// Remove the class from element when popover is closed