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

Error if browserLanguage is empty #118

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

dhoko
Copy link

@dhoko dhoko commented Nov 13, 2019

Hey 👋

There is an issue with the condition to get the language, you expect the browserLanguage to be defined. Sometimes it's undefined.

Steps to reproduce this:
Open the Firefox browser and click on the hamburger menu > Options and under the Language section click 'Choose' and remove the existing languages in the tab

Ex: If you remove all languages inside Firefox.
Open the Firefox browser and click on the hamburger menu > Options and
under the Language section click 'Choose' and remove the existing
languages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant