allow ppl to empty all fields except post-text

pull/200/head
Aevann 2023-09-06 02:06:46 +03:00
parent e55eca258e
commit a2bb700f36
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ function savetext() {
for (const id of save_value)
{
const value = document.getElementById(id).value
if (value) localStorage.setItem(id, value)
if (value || id != 'post-text')
localStorage.setItem(id, value)
}
for (const id of save_checked) {