New option: Disable spell check

This commit is contained in:
Scott Nonnenberg 2018-07-18 18:46:12 -07:00
parent d5d6cdb250
commit c517e4193b
9 changed files with 78 additions and 9 deletions

View file

@ -98,6 +98,11 @@
setFn: window.setAudioNotification,
});
}
new CheckboxView({
el: this.$('.spell-check-setting'),
value: window.initialData.spellCheck,
setFn: window.setSpellCheck,
});
new CheckboxView({
el: this.$('.menu-bar-setting'),
value: window.initialData.hideMenuBar,
@ -139,6 +144,8 @@
clearDataExplanation: i18n('clearDataExplanation'),
permissions: i18n('permissions'),
mediaPermissionsDescription: i18n('mediaPermissionsDescription'),
spellCheckHeader: i18n('spellCheck'),
spellCheckDescription: i18n('spellCheckDescription'),
};
},
onClose() {