Removed obsolete line of JavaScript causing client-side code not to run.

This commit is contained in:
Chris Davoren 2024-01-10 18:49:56 +10:00
parent 96f10416ff
commit c81f5e8641
1 changed files with 0 additions and 3 deletions

View File

@ -7,9 +7,6 @@ var nextUpdateTime = null;
var connection = new signalR.HubConnectionBuilder().withUrl("/lightHub").build();
//Disable the send button until connection is established.
document.getElementById("sendButton").disabled = true;
connection.on("ReceiveStateUpdate", function (stateData) {
console.log("Update pushed.");
updateView(stateData);