[DE mobile] Don't use spellcheck for mobile app.

This commit is contained in:
Julia Radzhabova 2017-05-25 13:03:39 +03:00
parent a4a97a1877
commit 3f8172b175

View file

@ -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);