Spam option has been removed from report window.

This commit is contained in:
ccd0 2015-06-22 13:45:09 -07:00
parent 8cd3218616
commit dcdb6afcbb
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ ReportLink =
unless post.isDead or (post.thread.isDead and not post.thread.isArchived)
a.textContent = 'Report this 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']
a.textContent = 'Report to archive'
ReportLink.url = Redirect.to 'report', {boardID: post.board.ID, postID: post.ID}

View File

@ -59,4 +59,4 @@ Report =
if types = $.id('reportTypes')
$.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 ''