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.

user_profile: Remove redundant call to popovers.hide_all.

Aman Agrawalf85f904fc107
diff --git a/web/src/user_profile.js b/web/src/user_profile.js
index 6e451ecaec2..27d5b21e3c7 100644
--- a/web/src/user_profile.js
+++ b/web/src/user_profile.js
@@ -27,7 +27,6 @@ import * as loading from "./loading";
import * as overlays from "./overlays";
import {page_params} from "./page_params";
import * as people from "./people";
-import * as popovers from "./popovers";
import * as settings_config from "./settings_config";
import * as settings_data from "./settings_data";
import * as settings_profile_fields from "./settings_profile_fields";
@@ -317,8 +316,6 @@ function initialize_user_type_fields(user) {
}
export function show_user_profile(user, default_tab_key = "profile-tab") {
- popovers.hide_all();
-
const field_types = page_params.custom_profile_field_types;
const profile_data = page_params.custom_profile_fields
.map((f) => get_custom_profile_field_data(user, f, field_types))