Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
popovers: Don't close user list sidebar opening left sidebar menus.
Tim Abbott87bc18c2be9d
diff --git a/static/js/stream_popover.js b/static/js/stream_popover.jsindex 404296256ff..0dd32ecfe12 100644--- a/static/js/stream_popover.js+++ b/static/js/stream_popover.js@@ -245,8 +245,7 @@ function build_stream_popover(opts) {return;}- popovers.hide_all();- show_streamlist_sidebar();+ popovers.hide_all_except_sidebars();const content = render_stream_sidebar_actions({stream: sub_store.get(stream_id),@@ -288,8 +287,7 @@ function build_topic_popover(opts) {return;}- popovers.hide_all();- show_streamlist_sidebar();+ popovers.hide_all_except_sidebars();const topic_muted = user_topics.is_topic_muted(sub.stream_id, topic_name);const has_starred_messages = starred_messages.get_count_in_topic(sub.stream_id, topic_name) > 0;@@ -331,8 +329,7 @@ function build_all_messages_popover(e) {return;}- popovers.hide_all();- show_streamlist_sidebar();+ popovers.hide_all_except_sidebars();const content = render_all_messages_sidebar_actions();@@ -358,8 +355,7 @@ function build_starred_messages_popover(e) {return;}- popovers.hide_all();- show_streamlist_sidebar();+ popovers.hide_all_except_sidebars();const show_unstar_all_button = starred_messages.get_count() > 0;const content = render_starred_messages_sidebar_actions({@@ -389,8 +385,7 @@ function build_drafts_popover(e) {return;}- popovers.hide_all();- show_streamlist_sidebar();+ popovers.hide_all_except_sidebars();const content = render_drafts_sidebar_actions({});$(elt).popover({content,