From 4263ea2af4def35061c83af009df163afa112b9f Mon Sep 17 00:00:00 2001 From: "Mr. Stallion" Date: Sun, 12 Apr 2020 10:15:35 -0500 Subject: [PATCH] Minor --- electron/Window.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));