fixing disabled

This commit is contained in:
Jon Lambson 2017-07-11 16:29:07 -06:00
parent e9a4ff8f9a
commit c588ea7d3d
1 changed files with 2 additions and 1 deletions

View File

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