📝 Fix code style issue
* Match equality operators for consistent that `==`, `!=` by `===`, `!==`. * Match string expression notation `"` by `'`. [ci skip]
This commit is contained in:
parent
3cc2dd216f
commit
5787bb0226
11 changed files with 33 additions and 33 deletions
|
@ -37,7 +37,7 @@ app.on('ready', () => {
|
|||
var displays = electronScreen.getAllDisplays();
|
||||
var externalDisplay = null;
|
||||
for (let i in displays) {
|
||||
if (displays[i].bounds.x != 0 || displays[i].bounds.y != 0) {
|
||||
if (displays[i].bounds.x !== 0 || displays[i].bounds.y !== 0) {
|
||||
externalDisplay = displays[i];
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue