Fire an event on phone number validation
Fix a bug introduced by recent phone number input work that prevented the call and sms buttons from being clickable.
This commit is contained in:
parent
f6376c0fa2
commit
5d044bd00e
3 changed files with 6 additions and 3 deletions
|
@ -34,7 +34,7 @@
|
|||
} else {
|
||||
$('#choose-setup').show().addClass('in');
|
||||
|
||||
$('input.number').on('keyup', function() {
|
||||
$('input.number').on('validation', function() {
|
||||
if ($('#number-container').hasClass('valid')) {
|
||||
$('#request-sms, #request-voice').removeAttr('disabled');
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue