no button on the nsfw warning goes to crouton.net
This commit is contained in:
parent
f16c2f549a
commit
fd216ae3dd
3 changed files with 21 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue