Don't reload expired captchas in background tabs. #330
This commit is contained in:
parent
43e011d467
commit
d08c642ff5
@ -217,7 +217,7 @@ Captcha.noscript =
|
||||
|
||||
expire: ->
|
||||
return unless @nodes.iframe
|
||||
if @needed() or d.activeElement is @nodes.input
|
||||
if not d.hidden and (@needed() or d.activeElement is @nodes.input)
|
||||
@reload()
|
||||
else
|
||||
@destroy()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user