mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
stylecheck
This commit is contained in:
4
index.js
4
index.js
@ -38,7 +38,7 @@ if (config.get("options.proxy")) {
|
||||
|
||||
// Adds debug features like hotkeys for triggering dev tools and reload
|
||||
require("electron-debug")({
|
||||
showDevTools: false //disable dev tools on electron-prompt
|
||||
showDevTools: false //disable automatic devTools on new window
|
||||
});
|
||||
|
||||
// Prevent window being garbage collected
|
||||
@ -157,7 +157,7 @@ function createMainWindow() {
|
||||
let createdWindow = false;
|
||||
app.on("browser-window-created", (event, win) => {
|
||||
//Ensure listeners aren't registered when creating input dialog
|
||||
if(createdWindow){
|
||||
if (createdWindow) {
|
||||
return;
|
||||
}
|
||||
createdWindow = true;
|
||||
|
||||
Reference in New Issue
Block a user