Fix reconnect errors in OnlyOffice

pull/1/head
yflory 3 years ago
parent d42011bea6
commit 76124ae704

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

Loading…
Cancel
Save