Fix clash between index/catalog link setting in CatalogLinks and Index.

This commit is contained in:
ccd0 2014-10-18 01:04:02 -07:00
parent 57db7e9837
commit a680a5d409

View File

@ -1,6 +1,6 @@
CatalogLinks =
init: ->
if Conf['External Catalog'] or Conf['JSON Navigation']
if (Conf['External Catalog'] or Conf['JSON Navigation']) and !(Conf['JSON Navigation'] and g.VIEW is 'index')
selector = switch g.VIEW
when 'thread' then '.navLinks.desktop > a'
when 'catalog' then '.navLinks > :first-child > a'