Fix standalone registration
// FREEBIE
This commit is contained in:
parent
77caa63321
commit
a137415b7a
1 changed files with 2 additions and 1 deletions
|
@ -29,11 +29,12 @@
|
||||||
if (parsedNumber.isValidNumber) {
|
if (parsedNumber.isValidNumber) {
|
||||||
this.$('.number-container').removeClass('invalid');
|
this.$('.number-container').removeClass('invalid');
|
||||||
this.$('.number-container').addClass('valid');
|
this.$('.number-container').addClass('valid');
|
||||||
return parsedNumber.e164;
|
|
||||||
} else {
|
} else {
|
||||||
this.$('.number-container').removeClass('valid');
|
this.$('.number-container').removeClass('valid');
|
||||||
}
|
}
|
||||||
input.trigger('validation');
|
input.trigger('validation');
|
||||||
|
|
||||||
|
return parsedNumber.e164;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue