Update.
This commit is contained in:
parent
a817b9b61d
commit
483a63ede9
@ -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);
|
||||
|
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user