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.

stream_popover: Hide popover when clicked on `unsubscribe`.

sanchi-tedf8b134306d
diff --git a/web/src/stream_popover.js b/web/src/stream_popover.js
index 85e66f47ed6..7d29e322dfc 100644
--- a/web/src/stream_popover.js
+++ b/web/src/stream_popover.js
@@ -173,6 +173,7 @@ function build_stream_popover(opts) {
$(this).closest(".popover").fadeOut(500).delay(500).remove();
const sub = stream_popover_sub(e);
+ hide_stream_popover();
stream_settings_components.sub_or_unsub(sub);
e.preventDefault();
e.stopPropagation();