forked from rDrama/rDrama
make it possible to clear saved items in /submit
parent
c62eec7203
commit
1b0ad9122e
|
@ -22,7 +22,7 @@ function savetext() {
|
||||||
for (const id of save_value)
|
for (const id of save_value)
|
||||||
{
|
{
|
||||||
const value = document.getElementById(id).value
|
const value = document.getElementById(id).value
|
||||||
if (value) localStorage.setItem(id, value)
|
localStorage.setItem(id, value)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const id of save_checked) {
|
for (const id of save_checked) {
|
||||||
|
|
Loading…
Reference in New Issue