small js fix

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

View File

@ -86,9 +86,9 @@ document.onpaste = function(event) {
fileReader.addEventListener("load", function () {document.getElementById('image-preview').setAttribute('src', this.result);}); fileReader.addEventListener("load", function () {document.getElementById('image-preview').setAttribute('src', this.result);});
} }
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", "")
}
checkForRequired(); checkForRequired();
} }
} }