fix ctrl+click opening the link twice/thrice, closes #1094

This commit is contained in:
zadam
2020-06-10 00:10:27 +02:00
parent 212b719ee9
commit 2d92b4931a
8 changed files with 18 additions and 19 deletions

View File

@@ -36,7 +36,7 @@ function init(httpServer, sessionParser) {
const message = JSON.parse(messageJson);
if (message.type === 'log-error') {
log.error('JS Error: ' + message.error);
log.info('JS Error: ' + message.error + '\r\nStack: ' + message.stack);
}
else if (message.type === 'ping') {
lastAcceptedSyncIds[ws.id] = message.lastSyncId;
@@ -141,4 +141,4 @@ module.exports = {
syncPullInProgress,
syncPullFinished,
sendPingToAllClients
};
};