diff --git a/frontend/src/components/new/Submit.svelte b/frontend/src/components/new/Submit.svelte index 0a255c3..48ecf6f 100755 --- a/frontend/src/components/new/Submit.svelte +++ b/frontend/src/components/new/Submit.svelte @@ -44,6 +44,7 @@ } let submit = document.getElementsByClassName("submit")[0] as HTMLElement; + submit.classList.add("loading"); alreadyUploading = true; const xhr = new XMLHttpRequest();