fixing error

This commit is contained in:
Jon Lambson 2017-07-12 10:28:13 -06:00
parent 1642251cb7
commit 22b1d535ca
1 changed files with 1 additions and 1 deletions

View File

@ -92,8 +92,8 @@ $('body').on('keyup keypress', '.js-authn-otp-code', function (e) {
// }
if ($(this).val().length === 14) {
$('.submit-btn').prop('disabled', false);
$('.error-msg').empty();
} else {
$('.error-msg').empty();
$('.submit-btn').prop('disabled', true);
}
});