Skip to content

Commit

Permalink
history is available for word, cell and slide type
Browse files Browse the repository at this point in the history
  • Loading branch information
LinneyS committed Feb 8, 2024
1 parent 90199cb commit 19504ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 19504ed

Please sign in to comment.