fix index-only header links
This commit is contained in:
parent
3dd0ed6026
commit
14172c00f0
@ -34,7 +34,7 @@ CatalogLinks =
|
|||||||
else
|
else
|
||||||
(board) -> a.href = "/#{board}/#{path}"
|
(board) -> a.href = "/#{board}/#{path}"
|
||||||
|
|
||||||
for a in $$ """#board-list a:not(.catalog), #boardNavDesktopFoot a"""
|
for a in $$ """#board-list a:not([data-only]), #boardNavDesktopFoot a"""
|
||||||
continue if a.hostname not in ['boards.4chan.org', 'catalog.neet.tv', '4index.gropes.us'] or
|
continue if a.hostname not in ['boards.4chan.org', 'catalog.neet.tv', '4index.gropes.us'] or
|
||||||
!(board = a.pathname.split('/')[1]) or
|
!(board = a.pathname.split('/')[1]) or
|
||||||
board in ['f', 'status', '4chan'] or
|
board in ['f', 'status', '4chan'] or
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user