Skip to content

Commit

Permalink
Merge branch 'main' into pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kubilayeldemir committed Sep 2, 2023
2 parents 2a65d18 + 81002aa commit c6b9f91
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@
};

socket.onclose = event => {
console.log("WebSocket closed", event.data);
document.body.style.backgroundColor = "gray";
document.getElementById("send").style.backgroundColor = "gray";
document.getElementById("send").style.filter = "grayscale(100%)";
console.log("WebSocket closed", event.data);
};

document.getElementById("send").onclick = function () {
Expand Down

0 comments on commit c6b9f91

Please sign in to comment.