Fix bug causing noscript captcha to not work within frames.

This commit is contained in:
ccd0 2015-04-02 18:05:40 -07:00
parent 0240c349ab
commit e85f3e7b81

View File

@ -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()