Fix bug causing noscript captcha to not work within frames.
This commit is contained in:
parent
0240c349ab
commit
e85f3e7b81
@ -40,7 +40,7 @@ Captcha.noscript =
|
|||||||
@setup()
|
@setup()
|
||||||
|
|
||||||
initFrame: ->
|
initFrame: ->
|
||||||
conn = new Connection window.top, "#{location.protocol}//boards.4chan.org",
|
conn = new Connection window.parent, "#{location.protocol}//boards.4chan.org",
|
||||||
response: (response) ->
|
response: (response) ->
|
||||||
$.id('response').value = response
|
$.id('response').value = response
|
||||||
$('.fbc-challenge > form').submit()
|
$('.fbc-challenge > form').submit()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user