diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index c4008052d..6f9c74f27 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -465,7 +465,7 @@ define([ var deleteLastCp = function () { var hashes = content.hashes; if (!hashes || !Object.keys(hashes).length) { return; } - i = i || 0; + var i = 0; var idx = Object.keys(hashes).map(Number).sort(function (a, b) { return a-b; });