popovers: Use sidebar-menu-icon utility class.

This commit is contained in:
Karl Stolley 2023-09-18 09:57:45 -05:00 committed by Tim Abbott
parent fd01ebdc5d
commit b168d4911c
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ let $stream_header_colorblock;
// Keep the menu icon over which the popover is based off visible. // Keep the menu icon over which the popover is based off visible.
function show_left_sidebar_menu_icon(element) { 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 // Remove the class from element when popover is closed