1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

Update rules for creating browser aliases

This commit is contained in:
Will Soares
2019-03-09 19:27:28 -03:00
parent 064aa812fc
commit b111862cce
3 changed files with 10 additions and 11 deletions

View File

@@ -407,7 +407,7 @@ class Parser {
const possibleNames = [defaultBrowserName.toLowerCase()];
if (loosely) {
possibleNames.push(getBrowserAlias(defaultBrowserName).toLowerCase());
possibleNames.push(Utils.getBrowserAlias(defaultBrowserName).toLowerCase());
}
return possibleNames.indexOf(browserName.toLowerCase()) !== -1;