Removed obsolete line of JavaScript causing client-side code not to run.
This commit is contained in:
parent
96f10416ff
commit
c81f5e8641
|
@ -7,9 +7,6 @@ var nextUpdateTime = null;
|
||||||
|
|
||||||
var connection = new signalR.HubConnectionBuilder().withUrl("/lightHub").build();
|
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) {
|
connection.on("ReceiveStateUpdate", function (stateData) {
|
||||||
console.log("Update pushed.");
|
console.log("Update pushed.");
|
||||||
updateView(stateData);
|
updateView(stateData);
|
||||||
|
|
Loading…
Reference in New Issue