Also check descendants of inserted nodes.
Possibly fixes the copy+paste captcha?
This commit is contained in:
parent
b28f09723c
commit
74540e4b71
@ -85,8 +85,8 @@ QR.captcha =
|
||||
afterSetup: (mutations) ->
|
||||
for mutation in mutations
|
||||
for node in mutation.addedNodes
|
||||
@setupIFrame node if node.nodeName is 'IFRAME'
|
||||
@setupTextArea node if node.nodeName is 'TEXTAREA'
|
||||
@setupIFrame iframe if iframe = $.x './descendant-or-self::iframe', node
|
||||
@setupTextArea textarea if textarea = $.x './descendant-or-self::textarea', node
|
||||
return
|
||||
|
||||
setupIFrame: (iframe) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user