Fix reconnect errors in OnlyOffice

This commit is contained in:
yflory 2021-11-03 15:40:25 +01:00
parent d42011bea6
commit 76124ae704
1 changed files with 2 additions and 2 deletions

View File

@ -2911,7 +2911,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
var useNewDefault = content.version && content.version >= 2;
openRtChannel(function () {
openRtChannel(Util.once(function () {
setMyId();
oldHashes = JSON.parse(JSON.stringify(content.hashes));
initializing = false;
@ -3069,7 +3069,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
}
next();
});
}));
};
config.onError = function (err) {