[DE mobile] Don't use spellcheck for mobile app.
This commit is contained in:
parent
a4a97a1877
commit
3f8172b175
|
@ -467,8 +467,7 @@ define([
|
||||||
value = Common.localStorage.getItem("de-show-tableline");
|
value = Common.localStorage.getItem("de-show-tableline");
|
||||||
me.api.put_ShowTableEmptyLine((value!==null) ? eval(value) : true);
|
me.api.put_ShowTableEmptyLine((value!==null) ? eval(value) : true);
|
||||||
|
|
||||||
value = Common.localStorage.getItem("de-settings-spellcheck");
|
me.api.asc_setSpellCheck(false); // don't use spellcheck for mobile mode
|
||||||
me.api.asc_setSpellCheck(value===null || parseInt(value) == 1);
|
|
||||||
|
|
||||||
Common.localStorage.setItem("de-settings-showsnaplines", me.api.get_ShowSnapLines() ? 1 : 0);
|
Common.localStorage.setItem("de-settings-showsnaplines", me.api.get_ShowSnapLines() ? 1 : 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue