From f95af399958c5efe80b7ca8cd26952ced6dc493e Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 5 Jan 2021 14:22:09 +0100 Subject: [PATCH] lint compliance --- www/common/onlyoffice/inner.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index b51a9591b..3b2f41afc 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -1585,9 +1585,8 @@ define([ if (type === "sheet" && extension === "pdf") { var e = getEditor(); var d = e.asc_nativePrint(undefined, undefined, 0x101).ImData; - var url = URL.createObjectURL( new Blob([d.data]), { type: "application/octet-stream" }); xlsData = x2tConvertDataInternal(x2t, { - buffer: imdata.data, + buffer: d.data, bin: data }, filename, extension); if (xlsData) {