The index/reply navigation shouldn't exist on the catalog.

This commit is contained in:
Nicolas Stepien 2013-04-13 22:57:37 +02:00
parent cead1dc231
commit c9402fdf65

View File

@ -1974,7 +1974,13 @@ Keybinds =
Nav =
init: ->
return if g.VIEW is 'index' and !Conf['Index Navigation'] or g.VIEW is 'thread' and !Conf['Reply Navigation']
switch g.VIEW
when 'index'
return unless Conf['Index Navigation']
when 'thread'
return unless Conf['Reply Navigation']
else # catalog
return
span = $.el 'span',
id: 'navlinks'