fix for cloned notes at root level + better logging

This commit is contained in:
azivner
2017-12-06 20:11:45 -05:00
parent a0bbd8c853
commit 0c6521545a
3 changed files with 14 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ const messaging = (function() {
let ws = null;
function logError(message) {
console.error(message);
console.trace(message);
if (ws && ws.readyState === 1) {
ws.send(JSON.stringify({