Fix /f/ front page navigation.

This commit is contained in:
ccd0 2015-03-14 21:32:51 -07:00
parent 5298cbc378
commit cd2e24d5e8
2 changed files with 2 additions and 2 deletions

View File

@ -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}/"

View File

@ -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}/"