Fix clash between index/catalog link setting in CatalogLinks and Index.
This commit is contained in:
parent
57db7e9837
commit
a680a5d409
@ -1,6 +1,6 @@
|
|||||||
CatalogLinks =
|
CatalogLinks =
|
||||||
init: ->
|
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
|
selector = switch g.VIEW
|
||||||
when 'thread' then '.navLinks.desktop > a'
|
when 'thread' then '.navLinks.desktop > a'
|
||||||
when 'catalog' then '.navLinks > :first-child > a'
|
when 'catalog' then '.navLinks > :first-child > a'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user