diff --git a/CHANGELOG.md b/CHANGELOG.md index b1e203470..2b2bdd409 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ The links to individual versions below are to copies of the script with the upda ### v1.10.10 +**v1.10.10.4** *(2015-04-26)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.10.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.10.4/builds/4chan-X-noupdate.crx "Chromium version")] +- Possible fix for bug causing scrolling to the top of the page upon loading image captcha. + **v1.10.10.3** *(2015-04-24)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.10.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.10.3/builds/4chan-X-noupdate.crx "Chromium version")] - Fix original post form not showing when JS is disabled. diff --git a/src/Posting/Captcha.fixes.coffee b/src/Posting/Captcha.fixes.coffee index 062ab9b5d..888953cf6 100644 --- a/src/Posting/Captcha.fixes.coffee +++ b/src/Posting/Captcha.fixes.coffee @@ -33,7 +33,8 @@ Captcha.fixes = focus = @images[0].tabIndex isnt 0 for img in @images img.tabIndex = 0 - @focusImage() if focus + if focus + $.queueTask => @focusImage() focusImage: -> # XXX Image is not focusable at first in Firefox; to be refactored when I figure out why.