From 90fc5ae4f1356ecbf608fd05fcb9e3d7d7f7c6bd Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 5 Nov 2021 13:06:11 +0100 Subject: [PATCH] lint compliance --- www/common/onlyoffice/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index e399900ae..d2d6e8c07 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -1641,7 +1641,7 @@ define([ if (app === 'doc') { d = getEditor().GetDocument(); hasChart = d.GetAllCharts().length || d.Document.Content.some(function (obj) { - return obj instanceof AscCommonWord.CTable; + return obj instanceof getWindow().AscCommonWord.CTable; }); if (hasChart) { Feedback.send('OO_DOC_CHART', true); } } else if (app === 'presentation') {