Skip to content

fix: getBrowserLanguage() bug, search in languageMap's keyArray always fails - #1776

Open
congzhou09 wants to merge 1 commit into
apitable:developfrom
congzhou09:fix-getBrowserLang
Open

congzhou09 wants to merge 1 commit into
apitable:developfrom
congzhou09:fix-getBrowserLang

Conversation

@congzhou09

@congzhou09 congzhou09 commented Dec 18, 2024 •

Copy link
Copy Markdown

A bug in the getBrowserLanguage() function.

As shown in the follwing screen shot, because of line 64, langArr[i].indexOf() in line 69 will always be langArr[i].indexOf(undefined) which leads to search failure.

图片

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