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: Fix when hide_user_profile is called.

Pratik Chanda4eefa9c0c0df
diff --git a/web/src/user_profile.ts b/web/src/user_profile.ts
index 880fad77b2d..d28ea47e90b 100644
--- a/web/src/user_profile.ts
+++ b/web/src/user_profile.ts
@@ -1457,8 +1457,8 @@ export function initialize(): void {
* but we do want to close the modal when you click them. */
$("body").on("click", "#user-profile-modal #name .user-profile-profile-settings-button", () => {
- browser_history.go_to_location("#settings/profile");
hide_user_profile();
+ browser_history.go_to_location("#settings/profile");
});
$("body").on(