diff options
Diffstat (limited to 'common/content/editor.js')
-rw-r--r-- | common/content/editor.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/common/content/editor.js b/common/content/editor.js index 007679db..c8758f61 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -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 = {}; |