diff --git a/files/templates/submission.html b/files/templates/submission.html
index 1bc6c252e..19e71c2ae 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -703,7 +703,7 @@
xhr.onload=function(){
if (xhr.status==200) {
el.innerHTML = xhr.response;
- btn.classList.toggle('hidden');
+ btn.classList.style('display: none');
} else {
btn.disabled = false;
}