diff --git a/files/templates/submit_hats.html b/files/templates/submit_hats.html
index 6b99a054d..c2a62c119 100644
--- a/files/templates/submit_hats.html
+++ b/files/templates/submit_hats.html
@@ -114,7 +114,7 @@
},
(xhr) => {
if(xhr.status == 200) {
- document.getElementById(`${name}-hat`).classList.add('d-none')
+ document.getElementById(`${name}-hat`).remove()
}
}
);
diff --git a/files/templates/submit_marseys.html b/files/templates/submit_marseys.html
index 3928ea72c..30779952e 100644
--- a/files/templates/submit_marseys.html
+++ b/files/templates/submit_marseys.html
@@ -119,7 +119,7 @@
},
(xhr) => {
if(xhr.status == 200) {
- document.getElementById(`${name}-marsey`).classList.add('d-none')
+ document.getElementById(`${name}-marsey`).remove()
}
}
);