From 1c873b7d023b2915b88c6d80af12ee23cbba8f8c Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 23 May 2025 07:02:45 +0200 Subject: [PATCH] Update. --- src/snek/static/app.js | 2 +- src/snek/static/message-list.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/snek/static/app.js b/src/snek/static/app.js index a5c52de..8810952 100644 --- a/src/snek/static/app.js +++ b/src/snek/static/app.js @@ -174,7 +174,7 @@ export class App extends EventHandler { async forcePing(...arg) { await this.rpc.ping(...args); } - + starField = null constructor() { super(); this.ws = new Socket(); diff --git a/src/snek/static/message-list.js b/src/snek/static/message-list.js index 672a9e9..341ec5c 100644 --- a/src/snek/static/message-list.js +++ b/src/snek/static/message-list.js @@ -43,7 +43,7 @@ class MessageList extends HTMLElement { textElement.style.display = message.text == "" ? "none" : "block"; } triggerGlow(uid,color) { - app.startField.glowColor(color) + app.starField.glowColor(color) let lastElement = null; this.querySelectorAll(".avatar").forEach((el) => { const div = el.closest("a");