fixing disabled
This commit is contained in:
parent
e9a4ff8f9a
commit
c588ea7d3d
|
@ -92,8 +92,9 @@ $('body').on('keyup keypress', '.js-authn-otp-code', function (e) {
|
||||||
// }
|
// }
|
||||||
if ($(this).val().length === 14) {
|
if ($(this).val().length === 14) {
|
||||||
$('.submit-btn').prop('disabled', false);
|
$('.submit-btn').prop('disabled', false);
|
||||||
|
} else {
|
||||||
|
$('.submit-btn').prop('disabled', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.js-authn-otp-code').mask('####-####-####');
|
$('.js-authn-otp-code').mask('####-####-####');
|
||||||
|
|
Loading…
Reference in New Issue