mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 19:37:59 +01:00
Reconcile the format of 'sanitizeitems' with most other list options.
This commit is contained in:
@@ -861,7 +861,14 @@ var Editor = Module("editor", {
|
||||
"string", config.locale,
|
||||
{
|
||||
initValue: function () {},
|
||||
getter: function getter() services.spell.dictionary || "",
|
||||
getter: function getter() {
|
||||
try {
|
||||
return services.spell.dictionary || "";
|
||||
}
|
||||
catch (e) {
|
||||
return "";
|
||||
}
|
||||
},
|
||||
setter: function setter(val) { services.spell.dictionary = val; },
|
||||
completer: function completer(context) {
|
||||
let res = {};
|
||||
|
||||
Reference in New Issue
Block a user