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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user