Revert "Add link from native catalog to 4chan X catalog. #247"
This reverts commit 171a82f1430bb1fe3b58a8cc696f3545082f387b.
This commit is contained in:
parent
630428e768
commit
98d26d7191
@ -10,11 +10,6 @@ CatalogLinks =
|
|||||||
switch link.pathname
|
switch link.pathname
|
||||||
when "/#{g.BOARD}/" then link.href = CatalogLinks.index()
|
when "/#{g.BOARD}/" then link.href = CatalogLinks.index()
|
||||||
when "/#{g.BOARD}/catalog" then link.href = CatalogLinks.catalog()
|
when "/#{g.BOARD}/catalog" then link.href = CatalogLinks.catalog()
|
||||||
if g.VIEW is 'catalog' and Conf['JSON Navigation'] and Conf['Use 4chan X Catalog']
|
|
||||||
catalogLink = link.parentNode.cloneNode true
|
|
||||||
catalogLink.firstElementChild.textContent = '4chan X Catalog'
|
|
||||||
catalogLink.firstElementChild.href = CatalogLinks.catalog()
|
|
||||||
$.after link.parentNode, [$.tn(' '), catalogLink]
|
|
||||||
return
|
return
|
||||||
|
|
||||||
return unless Conf['Catalog Links']
|
return unless Conf['Catalog Links']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user