From 0e916592d82e210960d16db8a947bd0b49919e05 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 8 Dec 2014 21:01:10 -0800 Subject: [PATCH] Focus on the submit button after captcha completion, unless dumping and more captchas are needed. --- src/Posting/QR.captcha.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Posting/QR.captcha.coffee b/src/Posting/QR.captcha.coffee index 125c4707c..5d0c423cc 100644 --- a/src/Posting/QR.captcha.coffee +++ b/src/Posting/QR.captcha.coffee @@ -107,11 +107,11 @@ QR.captcha = null save: (e) -> - if @needed() + if QR.cooldown.auto and @needed() @shouldFocus = true @reload() else - @nodes.counter.focus() + QR.nodes.status.focus() @timeouts.destroy ?= setTimeout @destroy.bind(@), 3 * $.SECOND $.forceSync 'captchas' @captchas.push