mirror of https://github.com/xwiki-labs/cryptpad
Fix onreconnect in cursor
This commit is contained in:
parent
29075b7898
commit
2bd8c2d363
|
@ -154,7 +154,8 @@ define([
|
|||
console.error(err);
|
||||
});
|
||||
};
|
||||
chan.onReconnect = onReconnect;
|
||||
ctx.channels[channel] = ctx.channels[channel] || {};
|
||||
ctx.channels[channel].onReconnect = onReconnect;
|
||||
network.on('reconnect', onReconnect);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue