diff --git a/js/views/phone-input-view.js b/js/views/phone-input-view.js index fafc08d8..48c4c80d 100644 --- a/js/views/phone-input-view.js +++ b/js/views/phone-input-view.js @@ -29,11 +29,12 @@ if (parsedNumber.isValidNumber) { this.$('.number-container').removeClass('invalid'); this.$('.number-container').addClass('valid'); - return parsedNumber.e164; } else { this.$('.number-container').removeClass('valid'); } input.trigger('validation'); + + return parsedNumber.e164; } }); })();