[DE mobile] Don't use spellcheck for mobile app.
This commit is contained in:
parent
7d1e47a4b9
commit
98edcc6a11
|
@ -468,8 +468,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