mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
checking desktop version
This commit is contained in:
@ -643,7 +643,7 @@ async function registerButtons(window, undefined)
|
|||||||
button2.attachOnClick(on_click_ocr);
|
button2.attachOnClick(on_click_ocr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (editorVersion >= 9002000 && Asc.Editor.getType() === "word")
|
if (editorVersion >= 9002000 && Asc.Editor.getType() === "word" && AI.getDesktopLocalVersion() >= 9003000)
|
||||||
{
|
{
|
||||||
let buttonGS = new Asc.ButtonToolbar(buttonMainToolbar);
|
let buttonGS = new Asc.ButtonToolbar(buttonMainToolbar);
|
||||||
buttonGS.text = "Grammar & Spelling";
|
buttonGS.text = "Grammar & Spelling";
|
||||||
|
|||||||
Reference in New Issue
Block a user