Revert "Add link from native catalog to 4chan X catalog. #247"

This reverts commit 171a82f1430bb1fe3b58a8cc696f3545082f387b.
This commit is contained in:
ccd0 2015-01-01 21:51:57 -08:00
parent 630428e768
commit 98d26d7191

View File

@ -10,11 +10,6 @@ CatalogLinks =
switch link.pathname
when "/#{g.BOARD}/" then link.href = CatalogLinks.index()
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 unless Conf['Catalog Links']