From 05408bbec464c427a14595a44443e9e4eac3b1b3 Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Fri, 16 Oct 2026 03:50:52 -0400 Subject: [PATCH] It seems in my sleepy-highness I have undone something that SHOULD NOT have been un-done --- www/js/channel/panels/queuePanel/queuePanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/channel/panels/queuePanel/queuePanel.js b/www/js/channel/panels/queuePanel/queuePanel.js index 8068fae..6976851 100644 --- a/www/js/channel/panels/queuePanel/queuePanel.js +++ b/www/js/channel/panels/queuePanel/queuePanel.js @@ -148,8 +148,8 @@ class queuePanel extends panelObj{ defineListeners(){ //Render queue when we receive a new copy of the queue data from the server //Render queue should be called within an arrow function so that it's called with default parameters, and not handed an event as a date - this.client.queueBroadcastSocket.on("queue", this.renderQueue.bind(this)); - this.client.socket.on("archive", this.renderQueue.bind(this)); + this.client.queueBroadcastSocket.on("queue", ()=>{this.renderQueue()}); + this.client.socket.on("archive", ()=>{this.renderQueue.bind(this)}); this.client.socket.on("start", this.handleStart.bind(this)); this.client.socket.on("end", this.handleEnd.bind(this)); this.client.socket.on("lock", this.handleScheduleLock.bind(this));