Fix reloading of noscript captcha images that failed to load the first time.

This commit is contained in:
ccd0 2015-01-27 10:46:22 -08:00
parent a0028a4b30
commit b2f11910b3

View File

@ -90,7 +90,7 @@ Captcha.noscript =
src: @iframeURL src: @iframeURL
$.add d.body, @nodes.iframe $.add d.body, @nodes.iframe
@conn.target = @nodes.iframe.contentWindow @conn.target = @nodes.iframe.contentWindow
else if !@occupied else if !@occupied or force
@nodes.iframe.src = @iframeURL @nodes.iframe.src = @iframeURL
@occupied = true @occupied = true
@nodes.input.focus() if focus @nodes.input.focus() if focus