Merge from Appchan X: src/Menu
excluded: Labels.coffee
This commit is contained in:
parent
5b3ed17296
commit
eaec80f5a5
@ -1,6 +1,6 @@
|
|||||||
ArchiveLink =
|
ArchiveLink =
|
||||||
init: ->
|
init: ->
|
||||||
return if g.VIEW not in ['index', 'thread'] or !Conf['Menu'] or !Conf['Archive Link']
|
return unless g.VIEW in ['index', 'thread'] and Conf['Menu'] and Conf['Archive Link']
|
||||||
|
|
||||||
div = $.el 'div',
|
div = $.el 'div',
|
||||||
textContent: 'Archive'
|
textContent: 'Archive'
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
DeleteLink =
|
DeleteLink =
|
||||||
init: ->
|
init: ->
|
||||||
return if g.VIEW not in ['index', 'thread'] or !Conf['Menu'] or !Conf['Delete Link']
|
return unless g.VIEW in ['index', 'thread'] and Conf['Menu'] and Conf['Delete Link']
|
||||||
|
|
||||||
div = $.el 'div',
|
div = $.el 'div',
|
||||||
className: 'delete-link'
|
className: 'delete-link'
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
DownloadLink =
|
DownloadLink =
|
||||||
init: ->
|
init: ->
|
||||||
return if g.VIEW not in ['index', 'thread'] or !Conf['Menu'] or !Conf['Download Link']
|
return unless g.VIEW in ['index', 'thread'] and Conf['Menu'] and Conf['Download Link']
|
||||||
|
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
className: 'download-link'
|
className: 'download-link'
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Menu =
|
Menu =
|
||||||
init: ->
|
init: ->
|
||||||
return if g.VIEW not in ['index', 'thread'] or !Conf['Menu']
|
return unless g.VIEW in ['index', 'thread'] and Conf['Menu']
|
||||||
|
|
||||||
@button = $.el 'a',
|
@button = $.el 'a',
|
||||||
className: 'menu-button'
|
className: 'menu-button'
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
ReportLink =
|
ReportLink =
|
||||||
init: ->
|
init: ->
|
||||||
return if g.VIEW not in ['index', 'thread'] or !Conf['Menu'] or !Conf['Report Link']
|
return unless g.VIEW in ['index', 'thread'] and Conf['Menu'] and Conf['Report Link']
|
||||||
|
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
className: 'report-link'
|
className: 'report-link'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user