From: Christian Heller Date: Thu, 17 Dec 2020 01:13:46 +0000 (+0100) Subject: Make spin button in web client functional. X-Git-Url: https://plomlompom.com/repos/bar%20baz.html?a=commitdiff_plain;h=249d0afc8663af2a1dbdd9d2f893582fe235cf6c;p=plomrogue2 Make spin button in web client functional. --- diff --git a/rogue_chat.html b/rogue_chat.html index 6497fa9..eb23d1c 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -1804,6 +1804,9 @@ document.getElementById("install").onclick = function() { document.getElementById("wear").onclick = function() { server.send(['TASK:WEAR']); }; +document.getElementById("spin").onclick = function() { + server.send(['TASK:SPIN']); +}; document.getElementById("dance").onclick = function() { server.send(['TASK:DANCE']); };