Don't insert 4chan native settings link on non-4chan boards.

This commit is contained in:
ccd0 2019-07-08 17:59:42 -07:00
parent 122535a857
commit 8ee847133a

View File

@ -108,7 +108,7 @@ Header =
Header.bottomBoardList = $ '.boardList', footer
CatalogLinks.setLinks Header.bottomBoardList
if g.VIEW is 'catalog' or !Conf['Disable Native Extension']
if Site.software is 'yotsuba' and (g.VIEW is 'catalog' or !Conf['Disable Native Extension'])
cs = $.el 'a', href: 'javascript:;'
if g.VIEW is 'catalog'
cs.title = cs.textContent = 'Catalog Settings'