Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(service): check whether browserLang is undefined #1007

Merged
merged 1 commit into from
Feb 5, 2020
Merged

fix(service): check whether browserLang is undefined #1007

merged 1 commit into from
Feb 5, 2020

Commits on Feb 8, 2019

  1. fix(TranslateService): check whether variable contains undefined value

    When accessing a non-existing property, JavaScript returns undefined.
    The check for 'undefined' will guarantee that browserLang has been and we can safely call .indexOf()
    cfilipponi committed Feb 8, 2019
    Configuration menu
    Copy the full SHA
    cf14c9c View commit details
    Browse the repository at this point in the history