Use Index.enabledOn in Index.menu.
This commit is contained in:
parent
0176c350a0
commit
2d0c5b9006
@ -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',
|
||||
|
||||
@ -8,7 +8,6 @@ SW.tinyboard =
|
||||
'Quick Reply Personas'
|
||||
'Quick Reply'
|
||||
'Cooldown'
|
||||
'Index Generator (Menu)'
|
||||
'Report Link'
|
||||
'Delete Link'
|
||||
'Edit Link'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user