It seems in my sleepy-highness I have undone something that SHOULD NOT have been un-done
This commit is contained in:
parent
1521fc83ee
commit
05408bbec4
1 changed files with 2 additions and 2 deletions
|
|
@ -148,8 +148,8 @@ class queuePanel extends panelObj{
|
||||||
defineListeners(){
|
defineListeners(){
|
||||||
//Render queue when we receive a new copy of the queue data from the server
|
//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
|
//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.queueBroadcastSocket.on("queue", ()=>{this.renderQueue()});
|
||||||
this.client.socket.on("archive", this.renderQueue.bind(this));
|
this.client.socket.on("archive", ()=>{this.renderQueue.bind(this)});
|
||||||
this.client.socket.on("start", this.handleStart.bind(this));
|
this.client.socket.on("start", this.handleStart.bind(this));
|
||||||
this.client.socket.on("end", this.handleEnd.bind(this));
|
this.client.socket.on("end", this.handleEnd.bind(this));
|
||||||
this.client.socket.on("lock", this.handleScheduleLock.bind(this));
|
this.client.socket.on("lock", this.handleScheduleLock.bind(this));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue