Fix /f/ front page navigation.
This commit is contained in:
parent
5298cbc378
commit
cd2e24d5e8
@ -79,7 +79,7 @@ CatalogLinks =
|
||||
"/#{board}/catalog"
|
||||
|
||||
index: (board=g.BOARD.ID) ->
|
||||
if Conf['JSON Navigation']
|
||||
if Conf['JSON Navigation'] and board isnt 'f'
|
||||
if g.BOARD.ID is board and g.VIEW is 'index' then '#index' else "/#{board}/#index"
|
||||
else
|
||||
"/#{board}/"
|
||||
|
||||
@ -109,7 +109,7 @@ Keybinds =
|
||||
FappeTyme.toggle 'werk'
|
||||
# Board Navigation
|
||||
when Conf['Front page']
|
||||
if Conf['JSON Navigation'] and g.VIEW is 'index'
|
||||
if Conf['JSON Navigation'] and g.VIEW is 'index' and g.BOARD.ID isnt 'f'
|
||||
Index.userPageNav 1
|
||||
else
|
||||
window.location = "/#{g.BOARD}/"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user