no button on the nsfw warning goes to crouton.net

This commit is contained in:
rhiannon morris 2023-07-19 23:07:18 +02:00
parent f16c2f549a
commit fd216ae3dd
3 changed files with 21 additions and 6 deletions

View file

@ -17,16 +17,19 @@ function yes() {
dismiss();
}
// now just a normal link
/*
function no() {
history.go(-1);
document.location = '//crouton.net';
}
*/
function setup() {
if (alreadyYes()) {
dismiss();
} else {
document.getElementById('nsfw-yes').onclick = yes;
document.getElementById('nsfw-no').onclick = no;
// document.getElementById('nsfw-no').onclick = no;
}
}