mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
user profile modal: Don't close settings when opening modal.
Fixes #22572.
This commit is contained in:
parent
965ed728e1
commit
544e472ec3
@ -718,12 +718,12 @@ export function set_up() {
|
||||
});
|
||||
});
|
||||
|
||||
$("#show_my_user_profile_modal").on("click", () => {
|
||||
overlays.close_overlay("settings");
|
||||
$("#show_my_user_profile_modal").on("click", (e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
const user = people.get_by_user_id(people.my_current_user_id());
|
||||
setTimeout(() => {
|
||||
user_profile.show_user_profile(user);
|
||||
}, 100);
|
||||
user_profile.show_user_profile(user);
|
||||
});
|
||||
|
||||
function upload_avatar($file_input) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user