Make catalog keybind work on /f/.
This commit is contained in:
parent
df5a31a26e
commit
576a223fc8
@ -170,8 +170,8 @@ Keybinds =
|
|||||||
return unless Index.enabledOn(g.BOARD)
|
return unless Index.enabledOn(g.BOARD)
|
||||||
location.href = if g.VIEW is 'index' then '#all-pages' else "/#{g.BOARD}/#all-pages"
|
location.href = if g.VIEW is 'index' then '#all-pages' else "/#{g.BOARD}/#all-pages"
|
||||||
when Conf['Open catalog']
|
when Conf['Open catalog']
|
||||||
return if g.BOARD.ID is 'f'
|
return unless (catalog = CatalogLinks.catalog())
|
||||||
location.href = CatalogLinks.catalog()
|
location.href = catalog
|
||||||
when Conf['Cycle sort type']
|
when Conf['Cycle sort type']
|
||||||
return unless Index.enabled
|
return unless Index.enabled
|
||||||
Index.cycleSortType()
|
Index.cycleSortType()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user