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