mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
fix ctrl+click opening the link twice/thrice, closes #1094
This commit is contained in:
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user