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: Remove `hide_user_profile` from `hide_all_except_sidebars`.

Ganesh Pawar4ed643ab8cb1
diff --git a/frontend_tests/node_tests/popovers.js b/frontend_tests/node_tests/popovers.js
index 27c5b975b27..154346ca34d 100644
--- a/frontend_tests/node_tests/popovers.js
+++ b/frontend_tests/node_tests/popovers.js
@@ -110,7 +110,6 @@ function test_ui(label, f) {
}
test_ui("sender_hover", (override) => {
- override(popovers, "hide_user_profile", noop);
override($.fn, "popover", noop);
const selection = ".sender_name, .sender_name-in-status, .inline_profile_picture";
@@ -213,8 +212,6 @@ test_ui("actions_popover", (override) => {
const target = $.create("click target");
- override(popovers, "hide_user_profile", noop);
-
const handler = $("#main_div").get_on_handler("click", ".actions_hover");
window.location = {
diff --git a/static/js/popovers.js b/static/js/popovers.js
index c74528d7c25..320a4a084e9 100644
--- a/static/js/popovers.js
+++ b/static/js/popovers.js
@@ -1393,7 +1393,6 @@ export function hide_all_except_sidebars() {
stream_popover.hide_starred_messages_popover();
hide_user_sidebar_popover();
hide_mobile_message_buttons_popover();
- hide_user_profile();
hide_user_info_popover();
hide_playground_links_popover();