same as last commit
parent
a708aeeb72
commit
7d3ded73ae
|
@ -1,5 +1,3 @@
|
||||||
const submitButton = document.getElementById('submit-btn')
|
|
||||||
|
|
||||||
const save_value = ['post-title', 'post-text', 'post-url', 'sub']
|
const save_value = ['post-title', 'post-text', 'post-url', 'sub']
|
||||||
for (const id of save_value) {
|
for (const id of save_value) {
|
||||||
const value = localStorage.getItem(id)
|
const value = localStorage.getItem(id)
|
||||||
|
@ -35,6 +33,7 @@ function savetext() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const submitButton = document.getElementById('submit-btn')
|
||||||
|
|
||||||
function checkForRequired() {
|
function checkForRequired() {
|
||||||
const title = document.getElementById("post-title");
|
const title = document.getElementById("post-title");
|
||||||
|
|
Loading…
Reference in New Issue