Don't try to add edit link when menu isn't there.
This commit is contained in:
parent
a4eb04ce6b
commit
1d0ffff41b
@ -1,7 +1,7 @@
|
|||||||
QR.oekaki =
|
QR.oekaki =
|
||||||
menu:
|
menu:
|
||||||
init: ->
|
init: ->
|
||||||
return unless Conf['Quick Reply'] and Conf['Edit Link']
|
return unless g.VIEW in ['index', 'thread'] and Conf['Menu'] and Conf['Edit Link'] and Conf['Quick Reply']
|
||||||
|
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
className: 'edit-link'
|
className: 'edit-link'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user