From 34e6b2e7cad19a2345328323fd81ac477e13e7eb Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 2 Sep 2015 13:12:55 +0800 Subject: Bug 1200618 - Layout of the TOTP 2FA leads to missing the token time window and thus frustration --- js/account.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js') diff --git a/js/account.js b/js/account.js index c287309d8..d68c3f550 100644 --- a/js/account.js +++ b/js/account.js @@ -80,7 +80,7 @@ $(function() { iframe.find('#qr').attr('src', 'data:image/png;base64,' + data.png); iframe.find('#secret').text(data.secret32); $('#mfa-totp-issued').show(); - $('#mfa-totp-enable-code').focus(); + $('#mfa-password').focus(); $('#update').attr('disabled', false); }) .error(function(data) { @@ -100,8 +100,8 @@ $(function() { event.preventDefault(); $('#mfa-disable-container').show(); $('#mfa-confirm').show(); - $('#mfa-api-blurb').hide(); - $('#mfa-totp-disable-code').focus(); + $('.mfa-api-blurb').hide(); + $('#mfa-password').focus(); $('#update').attr('disabled', false); $(this).hide(); }); -- cgit v1.2.3-24-g4f1b