Fix edit profile button
This commit is contained in:
parent
1d32eb3d55
commit
372d01672d
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue