Spam option has been removed from report window.
This commit is contained in:
parent
8cd3218616
commit
dcdb6afcbb
@ -14,7 +14,7 @@ ReportLink =
|
|||||||
unless post.isDead or (post.thread.isDead and not post.thread.isArchived)
|
unless post.isDead or (post.thread.isDead and not post.thread.isArchived)
|
||||||
a.textContent = 'Report this post'
|
a.textContent = 'Report this post'
|
||||||
ReportLink.url = "//sys.4chan.org/#{post.board}/imgboard.php?mode=report&no=#{post}"
|
ReportLink.url = "//sys.4chan.org/#{post.board}/imgboard.php?mode=report&no=#{post}"
|
||||||
ReportLink.height = 200
|
ReportLink.height = 180
|
||||||
else if Conf['Archive Report']
|
else if Conf['Archive Report']
|
||||||
a.textContent = 'Report to archive'
|
a.textContent = 'Report to archive'
|
||||||
ReportLink.url = Redirect.to 'report', {boardID: post.board.ID, postID: post.ID}
|
ReportLink.url = Redirect.to 'report', {boardID: post.board.ID, postID: post.ID}
|
||||||
|
|||||||
@ -59,4 +59,4 @@ Report =
|
|||||||
|
|
||||||
if types = $.id('reportTypes')
|
if types = $.id('reportTypes')
|
||||||
$.on types, 'change', (e) ->
|
$.on types, 'change', (e) ->
|
||||||
$('form').action = if e.target.value in ['illegal', 'spam'] then '#redirect' else ''
|
$('form').action = if e.target.value is 'illegal' then '#redirect' else ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user