From 483a63ede916544f95705a312d48e4b4ffe760c1 Mon Sep 17 00:00:00 2001 From: retoor Date: Mon, 22 Sep 2025 13:30:53 +0200 Subject: [PATCH] Update. --- src/snek/static/app.js | 4 ++-- src/snek/static/chat-input.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/snek/static/app.js b/src/snek/static/app.js index 141a60c..cb3d0fa 100644 --- a/src/snek/static/app.js +++ b/src/snek/static/app.js @@ -65,7 +65,7 @@ export class Chat extends EventHandler { } return new Promise((resolve) => { this._waitConnect = resolve; - console.debug("Connecting.."); + //console.debug("Connecting.."); try { this._socket = new WebSocket(this._url); @@ -142,7 +142,7 @@ export class NotificationAudio { new Audio(this.sounds[soundIndex]) .play() .then(() => { - console.debug("Gave sound notification"); + //console.debug("Gave sound notification"); }) .catch((error) => { console.error("Notification failed:", error); diff --git a/src/snek/static/chat-input.js b/src/snek/static/chat-input.js index 3c987bf..4fb5a7a 100644 --- a/src/snek/static/chat-input.js +++ b/src/snek/static/chat-input.js @@ -243,8 +243,6 @@ class ChatInputComponent extends NjetComponent { if (distance < minDistance) { minDistance = distance; closestAuthor = author; - console.info("closestAuthor",closestAuthor) - console.info("minDistance",minDistance) } }); if (minDistance < 5){