Merge from Appchan X: src/Menu

excluded: Labels.coffee
This commit is contained in:
ccd0 2015-01-31 00:51:44 -08:00
parent 5b3ed17296
commit eaec80f5a5
5 changed files with 5 additions and 5 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'