replace nsfw warning with a positive test

This commit is contained in:
rhiannon morris 2024-07-07 21:45:10 +02:00
parent 38120bc60f
commit 5d576d358c
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const nsfwOk = 'nsfw-ok'; const nsfwOk = 'nsfw-ok';
function alreadyYes() { function alreadyYes() {
return localStorage.getItem(nsfwOk) !== undefined; return localStorage.getItem(nsfwOk) == '1';
} }
function dismiss() { function dismiss() {