replace nsfw warning with a positive test
This commit is contained in:
parent
38120bc60f
commit
5d576d358c
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
const nsfwOk = 'nsfw-ok';
|
||||
|
||||
function alreadyYes() {
|
||||
return localStorage.getItem(nsfwOk) !== undefined;
|
||||
return localStorage.getItem(nsfwOk) == '1';
|
||||
}
|
||||
|
||||
function dismiss() {
|
||||
|
|
Loading…
Reference in a new issue