diff options
Diffstat (limited to 'src/webview')
-rw-r--r-- | src/webview/contextMenu.js | 4 | ||||
-rw-r--r-- | src/webview/recipe.js | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/webview/contextMenu.js b/src/webview/contextMenu.js index 0349a5d6c..bd099987d 100644 --- a/src/webview/contextMenu.js +++ b/src/webview/contextMenu.js | |||
@@ -1,7 +1,9 @@ | |||
1 | // This is heavily based on https://github.com/sindresorhus/electron-context-menu | 1 | // This is heavily based on https://github.com/sindresorhus/electron-context-menu |
2 | // ❤ @sindresorhus | 2 | // ❤ @sindresorhus |
3 | 3 | ||
4 | import { clipboard, remote, ipcRenderer, shell } from 'electron'; | 4 | import { |
5 | clipboard, remote, ipcRenderer, shell, | ||
6 | } from 'electron'; | ||
5 | 7 | ||
6 | import { isDevMode, isMac } from '../environment'; | 8 | import { isDevMode, isMac } from '../environment'; |
7 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; | 9 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; |
diff --git a/src/webview/recipe.js b/src/webview/recipe.js index c9117ac72..944883899 100644 --- a/src/webview/recipe.js +++ b/src/webview/recipe.js | |||
@@ -56,7 +56,8 @@ class RecipeController { | |||
56 | this.spellcheckingProvider, | 56 | this.spellcheckingProvider, |
57 | () => this.settings.app.enableSpellchecking, | 57 | () => this.settings.app.enableSpellchecking, |
58 | () => this.settings.app.spellcheckerLanguage, | 58 | () => this.settings.app.spellcheckerLanguage, |
59 | () => this.spellcheckerLanguage); | 59 | () => this.spellcheckerLanguage, |
60 | ); | ||
60 | 61 | ||
61 | autorun(() => this.update()); | 62 | autorun(() => this.update()); |
62 | } | 63 | } |