Select 'Once' option by default
Also fixes a small typo in an unrelated part of the code. GH-514
This commit is contained in:
@@ -14,7 +14,7 @@ const upgradePreferences = require('./config/upgradePreferences');
|
||||
function loadDefault(spellCheckerLocale) {
|
||||
const config = JSON.parse(JSON.stringify(defaultPreferences));
|
||||
return Object.assign({}, config, {
|
||||
spellCheckerLocale: spellCheckerLocale || defaultPreferences.pellCheckerLocale || 'en-US'
|
||||
spellCheckerLocale: spellCheckerLocale || defaultPreferences.spellCheckerLocale || 'en-US'
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user