Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Apr 25, 2024
1 parent 1d30b00 commit 94ce631
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions System/SystemUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { OSType } from './OSType.js';
* @version 1.0.0
* @since 1.0.0
*/
/* global navigator */
export class SystemUtils
{
/**
Expand All @@ -25,7 +26,6 @@ export class SystemUtils
}

/* global InstallTrigger */
/* global navigator */
/* global window */
if ((!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0) {
return BrowserType.OPERA;
Expand Down Expand Up @@ -64,7 +64,6 @@ export class SystemUtils

for (const os in OSType) {
if (Object.prototype.hasOwnProperty.call(OSType, os)) {
/* global navigator */
if (navigator.userAgent.toLowerCase().indexOf(OSType[os]) !== -1) {
return OSType[os];
}
Expand Down

0 comments on commit 94ce631

Please sign in to comment.