From 19504ed9e47095600ee2fff0fda8269d18855970 Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Thu, 8 Feb 2024 18:10:43 +0300 Subject: [PATCH] history is available for word, cell and slide type --- js/listener.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/listener.js b/js/listener.js index 53cfc268..f4e6e466 100644 --- a/js/listener.js +++ b/js/listener.js @@ -81,7 +81,9 @@ } OCA.Onlyoffice.onDocumentReady = function (documentType) { - if (documentType === "word") { + if (documentType === "word" + || documentType === "cell" + || documentType === "slide") { OCA.Onlyoffice.bindVersionClick(); } else { OCA.Onlyoffice.unbindVersionClick();