From 5fac71f638f54a913693292fcfb7c501bb10b8b7 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 28 Apr 2014 22:11:08 -0700 Subject: [PATCH] Recaptcha image URL parameter is no longer same as challenge This fixes a bug where the captcha would load multiple times. --- src/Posting/QR.captcha.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/QR.captcha.coffee b/src/Posting/QR.captcha.coffee index d53c0b575..a90c44101 100644 --- a/src/Posting/QR.captcha.coffee +++ b/src/Posting/QR.captcha.coffee @@ -114,7 +114,7 @@ QR.captcha = @timeout = Date.now() + @lifetime * $.SECOND - $.MINUTE challenge = @nodes.challenge.firstChild.value @nodes.img.alt = challenge - @nodes.img.src = "//www.google.com/recaptcha/api/image?c=#{challenge}" + @nodes.img.src = $.id('recaptcha_challenge_image').src @nodes.input.value = null @clear()