'Cycle sort type' keybind only works on index.

This commit is contained in:
ccd0 2014-12-09 17:57:07 -08:00
parent 9d0a40ebac
commit 68dbb73c4e

View File

@ -132,7 +132,7 @@ Keybinds =
when Conf['Open catalog']
window.location = CatalogLinks.catalog()
when Conf['Cycle sort type']
return unless Conf['JSON Navigation']
return unless Conf['JSON Navigation'] and g.VIEW is 'index' and g.BOARD isnt 'f'
Index.cycleSortType()
# Thread Navigation
when Conf['Next thread']