diff --git a/src/Menu/ReportLink.coffee b/src/Menu/ReportLink.coffee index d9a2a0930..53ba0bfa7 100755 --- a/src/Menu/ReportLink.coffee +++ b/src/Menu/ReportLink.coffee @@ -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} diff --git a/src/Miscellaneous/Report.coffee b/src/Miscellaneous/Report.coffee index fef68aba9..4f1ec3d3c 100755 --- a/src/Miscellaneous/Report.coffee +++ b/src/Miscellaneous/Report.coffee @@ -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 ''