From 9c1059c39c2b0296747f3b879ae5f16be0ad868c Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 4 Jan 2015 00:09:26 -0800 Subject: [PATCH] Revert "Temporarily hard-enable captcha on /b/." This reverts commit 3ea1f44429ca2c21d37e848285863578ae7c7591. --- src/Posting/Captcha.noscript.coffee | 2 +- src/Posting/Captcha.v2.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Posting/Captcha.noscript.coffee b/src/Posting/Captcha.noscript.coffee index d40b67aca..c0dd47516 100644 --- a/src/Posting/Captcha.noscript.coffee +++ b/src/Posting/Captcha.noscript.coffee @@ -4,7 +4,7 @@ Captcha.noscript = init: -> return if d.cookie.indexOf('pass_enabled=1') >= 0 - return unless @isEnabled = !!$.id('g-recaptcha') or g.BOARD.ID is 'b' + return unless @isEnabled = !!$.id 'g-recaptcha' container = $.el 'div', className: 'captcha-img' diff --git a/src/Posting/Captcha.v2.coffee b/src/Posting/Captcha.v2.coffee index 1c532f23c..f2cb19c63 100644 --- a/src/Posting/Captcha.v2.coffee +++ b/src/Posting/Captcha.v2.coffee @@ -3,7 +3,7 @@ Captcha.v2 = init: -> return if d.cookie.indexOf('pass_enabled=1') >= 0 - return unless @isEnabled = !!$.id('g-recaptcha') or g.BOARD.ID is 'b' + return unless @isEnabled = !!$.id 'g-recaptcha' @captchas = [] $.get 'captchas', [], ({captchas}) ->