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");