From c9402fdf65b6d25cbffafb548f0903f873284d50 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sat, 13 Apr 2013 22:57:37 +0200 Subject: [PATCH] The index/reply navigation shouldn't exist on the catalog. --- src/features.coffee | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/features.coffee b/src/features.coffee index 08982a579..bc847fea0 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -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'