From 372d01672d6a5bbd98343eed986fe14f34a1f5c5 Mon Sep 17 00:00:00 2001 From: Thomas Mathews Date: Mon, 23 Jan 2023 19:20:34 -0800 Subject: [PATCH] Fix edit profile button --- js/ui/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/profile.js b/js/ui/profile.js index 528b73f..4e00c27 100644 --- a/js/ui/profile.js +++ b/js/ui/profile.js @@ -93,7 +93,7 @@ function view_update_profile(model, pubkey) { function onclick_edit_profile() { const p = model_get_profile(DAMUS, DAMUS.pubkey); const el = find_node("#profile-editor"); - el.classList.remove("closed"); + el.showModal(); for (const key of PROFILE_FIELDS) { find_node(`[name='${key}']`, el).value = p.data[key]; }