remove element instead of hiding it

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-10 11:31:43 +02:00
parent 327176d31b
commit c968b1a4df
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@
},
(xhr) => {
if(xhr.status == 200) {
document.getElementById(`${name}-hat`).classList.add('d-none')
document.getElementById(`${name}-hat`).remove()
}
}
);

View File

@ -119,7 +119,7 @@
},
(xhr) => {
if(xhr.status == 200) {
document.getElementById(`${name}-marsey`).classList.add('d-none')
document.getElementById(`${name}-marsey`).remove()
}
}
);