diff --git a/electron/Window.vue b/electron/Window.vue index 9057a4c..972f9ed 100644 --- a/electron/Window.vue +++ b/electron/Window.vue @@ -89,7 +89,7 @@ @Hook('mounted') async mounted(): Promise { // top bar devtools - browserWindow.webContents.openDevTools({ mode: 'detach' }); + // browserWindow.webContents.openDevTools({ mode: 'detach' }); updateSupportedLanguages(browserWindow.webContents.session.availableSpellCheckerLanguages); @@ -222,7 +222,7 @@ const view = new electron.remote.BrowserView({webPreferences: {webviewTag: true, nodeIntegration: true, spellcheck: true}}); // tab devtools - view.webContents.openDevTools(); + // view.webContents.openDevTools(); // console.log('ADD TAB LANGUAGES', getSafeLanguages(this.settings.spellcheckLang), this.settings.spellcheckLang); view.webContents.session.setSpellCheckerLanguages(getSafeLanguages(this.settings.spellcheckLang));