Fix onreconnect in cursor

pull/1/head
yflory 5 years ago
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…
Cancel
Save