From e85f3e7b815b84be4b8e612119457ea3d0cd2eb1 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 2 Apr 2015 18:05:40 -0700 Subject: [PATCH] Fix bug causing noscript captcha to not work within frames. --- src/Posting/Captcha.noscript.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/Captcha.noscript.coffee b/src/Posting/Captcha.noscript.coffee index 8298494da..1458c1f76 100644 --- a/src/Posting/Captcha.noscript.coffee +++ b/src/Posting/Captcha.noscript.coffee @@ -40,7 +40,7 @@ Captcha.noscript = @setup() initFrame: -> - conn = new Connection window.top, "#{location.protocol}//boards.4chan.org", + conn = new Connection window.parent, "#{location.protocol}//boards.4chan.org", response: (response) -> $.id('response').value = response $('.fbc-challenge > form').submit()