From 013562cdbea254f3e876b615bce8255d2ded37ba Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 20 Nov 2015 12:37:27 -0800 Subject: [PATCH] Fix captcha not reloading when fallback captcha was invoked. --- src/Posting/Captcha.v2.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Posting/Captcha.v2.coffee b/src/Posting/Captcha.v2.coffee index 9313f16af..72c74f068 100644 --- a/src/Posting/Captcha.v2.coffee +++ b/src/Posting/Captcha.v2.coffee @@ -225,6 +225,9 @@ Captcha.v2 = reload: -> if @noscript $('iframe', @nodes.container).src = @noscriptURL() + else if $ 'iframe[src^="https://www.google.com/recaptcha/api/fallback?"]', @nodes.container + @destroy() + @setup false, true else $.globalEval ''' (function() {