Add s4s to the NSFW boards list. Close #300

This commit is contained in:
Zixaphir 2013-05-10 12:56:01 -07:00
parent 4975c74e49
commit e52979eb82
4 changed files with 4 additions and 4 deletions

View File

@ -14453,7 +14453,7 @@
if (g.VIEW === 'thread') {
g.THREADID = +pathname[3];
}
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 's4s', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
g.TYPE = 'nsfw';
} else {
g.TYPE = 'sfw';

View File

@ -14460,7 +14460,7 @@
if (g.VIEW === 'thread') {
g.THREADID = +pathname[3];
}
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 's4s', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
g.TYPE = 'nsfw';
} else {
g.TYPE = 'sfw';

View File

@ -14444,7 +14444,7 @@
if (g.VIEW === 'thread') {
g.THREADID = +pathname[3];
}
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 's4s', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
g.TYPE = 'nsfw';
} else {
g.TYPE = 'sfw';

View File

@ -44,7 +44,7 @@ Main =
g.THREADID = +pathname[3]
# Check if the current board we're on is SFW or not, so we can handle options that need to know that.
if ['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 'soc', 't', 'u', 'y'].contains g.BOARD.ID
if ['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 's4s', 'soc', 't', 'u', 'y'].contains g.BOARD.ID
g.TYPE = 'nsfw'
else
g.TYPE = 'sfw'