diff --git a/CHANGELOG.md b/CHANGELOG.md index 193f39412..24bd12007 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,11 @@ Based on v1.9.20.8. - Minor bugfixes. +### v1.9.20.10 +*2015-01-27* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.20.10/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.20.10/builds/4chan-X-noupdate.crx "Chromium version")] + +- Fix reloading of noscript captcha images that failed to load the first time. + ### v1.9.20.9 *2015-01-26* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.20.9/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.20.9/builds/4chan-X-noupdate.crx "Chromium version")] diff --git a/src/Posting/Captcha.noscript.coffee b/src/Posting/Captcha.noscript.coffee index c0dd47516..bcaa22a2a 100644 --- a/src/Posting/Captcha.noscript.coffee +++ b/src/Posting/Captcha.noscript.coffee @@ -90,7 +90,7 @@ Captcha.noscript = src: @iframeURL $.add d.body, @nodes.iframe @conn.target = @nodes.iframe.contentWindow - else if !@occupied + else if !@occupied or force @nodes.iframe.src = @iframeURL @occupied = true @nodes.input.focus() if focus