From 29fe77e7f64163b14b0a14f15a472c661188950c Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 20 Jun 2015 22:58:22 -0700 Subject: [PATCH] Add noscript-captcha class to QR if using noscript captcha. --- src/Posting/Captcha.v2.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Posting/Captcha.v2.coffee b/src/Posting/Captcha.v2.coffee index 93c5920ac..d44679378 100644 --- a/src/Posting/Captcha.v2.coffee +++ b/src/Posting/Captcha.v2.coffee @@ -8,6 +8,7 @@ Captcha.v2 = if @noscript = Conf['Force Noscript Captcha'] or not $.hasClass doc, 'js-enabled' @conn = new Connection null, "#{location.protocol}//www.google.com", token: (token) => @save true, token + $.addClass QR.nodes.el, 'noscript-captcha' @captchas = [] $.get 'captchas', [], ({captchas}) ->