diff --git a/index.html b/index.html index 5b43b31..39dddd8 100644 --- a/index.html +++ b/index.html @@ -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 () {