Fix: another platform issue
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7d09399f00
commit
c9eb9bd58f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
let parser = new UAParser();
|
let parser = new UAParser();
|
||||||
|
|
||||||
let platform;
|
let platform;
|
||||||
if (Platforms.hasOwnProperty(parser.getOS().name))
|
if (Platforms.hasOwnProperty(parser.getOS().name.toLowerCase()))
|
||||||
platform = parser.getOS().name.toLowerCase();
|
platform = parser.getOS().name.toLowerCase();
|
||||||
else
|
else
|
||||||
platform = Platforms.Unsupported;
|
platform = Platforms.Unsupported;
|
||||||
|
|
Loading…
Reference in a new issue