restore index mode condition to Front page keybind
This commit is contained in:
parent
2bf5c0100f
commit
55ea86d5cd
@ -103,6 +103,7 @@ Keybinds =
|
|||||||
# Board Navigation
|
# Board Navigation
|
||||||
when Conf['Front page']
|
when Conf['Front page']
|
||||||
if Conf['JSON Navigation'] and g.VIEW is 'index'
|
if Conf['JSON Navigation'] and g.VIEW is 'index'
|
||||||
|
return unless Conf['Index Mode'] in ['paged', 'infinite']
|
||||||
Index.userPageNav 1
|
Index.userPageNav 1
|
||||||
else
|
else
|
||||||
window.location = "/#{g.BOARD}/"
|
window.location = "/#{g.BOARD}/"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user