Browse Source

JS: Minor style tidy-up.

Review URL: https://codereview.appspot.com/7637044
pull/567/head
Shaopeng Jia 13 years ago
committed by Mihaela Rosca
parent
commit
711c49e431
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      javascript/i18n/phonenumbers/phonenumberutil.js

+ 3
- 3
javascript/i18n/phonenumbers/phonenumberutil.js View File

@ -1650,8 +1650,8 @@ i18n.phonenumbers.PhoneNumberUtil.prototype.formatNumberForMobileDialing =
this.formatNationalNumberWithPreferredCarrierCode(numberNoExt, '') :
// Brazilian fixed line and mobile numbers need to be dialed with a
// carrier code when called within Brazil. Without that, most of the
// carriers won't connect the call. Because of that, we return an empty
// string here.
// carriers won't connect the call. Because of that, we return an
// empty string here.
'';
} else {
// For NANPA countries, non-geographical countries, and Mexican fixed
@ -1676,7 +1676,7 @@ i18n.phonenumbers.PhoneNumberUtil.prototype.formatNumberForMobileDialing =
formattedNumber = this.format(
numberNoExt, i18n.phonenumbers.PhoneNumberFormat.NATIONAL);
}
}
}
} else if (this.canBeInternationallyDialled(numberNoExt)) {
return withFormatting ?
this.format(numberNoExt,


Loading…
Cancel
Save