Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Venryx authored and cheton committed Mar 26, 2021
1 parent 6572768 commit 7ee9288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function isElectron() {
return true;
}

// Detect the user agent when the `nodeIntegration` option is set to true
// Detect the user agent when the `nodeIntegration` option is set to false
if (typeof navigator === 'object' && typeof navigator.userAgent === 'string' && navigator.userAgent.indexOf('Electron') >= 0) {
return true;
}
Expand Down

0 comments on commit 7ee9288

Please sign in to comment.