restore index mode condition to Front page keybind

This commit is contained in:
ccd0 2014-09-20 12:36:06 -07:00
parent 2bf5c0100f
commit 55ea86d5cd

View File

@ -103,6 +103,7 @@ Keybinds =
# Board Navigation
when Conf['Front page']
if Conf['JSON Navigation'] and g.VIEW is 'index'
return unless Conf['Index Mode'] in ['paged', 'infinite']
Index.userPageNav 1
else
window.location = "/#{g.BOARD}/"