diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/account.js | 6 |
1 files changed, 3 insertions, 3 deletions
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(); }); |