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();