Skip to content

Commit

Permalink
Fix bug when finding unique OO id
Browse files Browse the repository at this point in the history
  • Loading branch information
wginolas committed May 2, 2024
1 parent 0604b70 commit b70296a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/common/onlyoffice/inner.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ define([
myOOId = Util.createRandomInteger();
// f: function used in .some(f) but defined outside of the while
var f = function (id) {
return ids[id] === myOOId;
return ids[id].ooid === myOOId;
};
while (Object.keys(ids).some(f)) {
myOOId = Util.createRandomInteger();
Expand Down

0 comments on commit b70296a

Please sign in to comment.