mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
Fix bug 77574
This commit is contained in:
@ -235,7 +235,7 @@ let isOverrideDocumentUrls = true;//window['Asc']['VisioEditorApi'] ? false : tr
|
||||
|
||||
function getCorrectImageUrl(path)
|
||||
{
|
||||
if (!window['Asc']['VisioEditorApi'])
|
||||
if (!window['Asc']['VisioEditorApi'] || !window["AscDesktopEditor"])
|
||||
return path;
|
||||
|
||||
return window["AscDesktopEditor"]["LocalFileGetImageUrlCorrect"](path);
|
||||
|
||||
Reference in New Issue
Block a user