same as last commit

pull/139/head
Aevann 2023-03-12 21:44:00 +02:00
parent a708aeeb72
commit 7d3ded73ae
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,3 @@
const submitButton = document.getElementById('submit-btn')
const save_value = ['post-title', 'post-text', 'post-url', 'sub']
for (const id of save_value) {
const value = localStorage.getItem(id)
@ -35,6 +33,7 @@ function savetext() {
}
}
const submitButton = document.getElementById('submit-btn')
function checkForRequired() {
const title = document.getElementById("post-title");