From cd2e24d5e8141903e270802c43460abf2f773860 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 14 Mar 2015 21:32:51 -0700 Subject: [PATCH] Fix /f/ front page navigation. --- src/Miscellaneous/CatalogLinks.coffee | 2 +- src/Miscellaneous/Keybinds.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Miscellaneous/CatalogLinks.coffee b/src/Miscellaneous/CatalogLinks.coffee index 8eb086af4..2ba5aa4e3 100755 --- a/src/Miscellaneous/CatalogLinks.coffee +++ b/src/Miscellaneous/CatalogLinks.coffee @@ -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}/" diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index 5377c1036..01922462e 100755 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -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}/"