Make catalog keybind work on /f/.

This commit is contained in:
ccd0 2019-07-22 18:36:18 -07:00
parent df5a31a26e
commit 576a223fc8

View File

@ -170,8 +170,8 @@ Keybinds =
return unless Index.enabledOn(g.BOARD)
location.href = if g.VIEW is 'index' then '#all-pages' else "/#{g.BOARD}/#all-pages"
when Conf['Open catalog']
return if g.BOARD.ID is 'f'
location.href = CatalogLinks.catalog()
return unless (catalog = CatalogLinks.catalog())
location.href = catalog
when Conf['Cycle sort type']
return unless Index.enabled
Index.cycleSortType()