another small js fix

master
Aevann1 2022-10-25 00:02:44 +02:00
parent 9dd9329c32
commit ae3831efb5
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ document.onpaste = function(event) {
} }
document.getElementById('file-upload').setAttribute('required', 'false'); document.getElementById('file-upload').setAttribute('required', 'false');
document.getElementById('post-url').value = null; document.getElementById('post-url').value = null;
localStorage.setItem("post-url", "") localStorage.setItem("post-url", "")
document.getElementById('image-upload-block').classList.remove('d-none')
} }
checkForRequired(); checkForRequired();
} }