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.

overlays: Add popovers.hide_all call to close_overlay.

sahil839a33b695a215a
diff --git a/static/js/overlays.js b/static/js/overlays.js
index a93d4baf15a..a33db87c7bb 100644
--- a/static/js/overlays.js
+++ b/static/js/overlays.js
@@ -141,6 +141,8 @@ exports.open_modal = function (selector) {
};
exports.close_overlay = function (name) {
+ popovers.hide_all();
+
if (name !== open_overlay_name) {
blueslip.error("Trying to close " + name + " when " + open_overlay_name + " is open.");
return;