Use Index.enabledOn in Index.menu.

This commit is contained in:
ccd0 2019-07-22 00:37:09 -07:00
parent 0176c350a0
commit 2d0c5b9006
2 changed files with 1 additions and 2 deletions

View File

@ -200,7 +200,7 @@ Index =
menu:
init: ->
return if g.VIEW isnt 'index' or !Conf['JSON Index'] or !Conf['Menu'] or !Conf['Thread Hiding Link'] or g.BOARD.ID is 'f'
return unless g.VIEW is 'index' and Conf['Menu'] and Conf['Thread Hiding Link'] and Index.enabledOn(g.BOARD)
Menu.menu.addEntry
el: $.el 'a',

View File

@ -8,7 +8,6 @@ SW.tinyboard =
'Quick Reply Personas'
'Quick Reply'
'Cooldown'
'Index Generator (Menu)'
'Report Link'
'Delete Link'
'Edit Link'