From 249d0afc8663af2a1dbdd9d2f893582fe235cf6c Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 17 Dec 2020 02:13:46 +0100 Subject: [PATCH] Make spin button in web client functional. --- rogue_chat.html | 3 +++ 1 file changed, 3 insertions(+) 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']); }; -- 2.30.2