From acaf6898fd130e51ede673bb73e5a6ba5569a092 Mon Sep 17 00:00:00 2001 From: ericBcreator <44906396+ericBcreator@users.noreply.github.com> Date: Thu, 1 Oct 2020 18:49:18 +0200 Subject: [PATCH] Update controls.js --- data/js/controls.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/js/controls.js b/data/js/controls.js index d4a0324..989aa6a 100644 --- a/data/js/controls.js +++ b/data/js/controls.js @@ -557,7 +557,7 @@ function start() { case UI_TAB: $("#tabsnav").append( - "
  • " + data.value + "
  • " + "
  • " + data.value + "
  • " ); $("#tabscontent").append("
    "); @@ -814,6 +814,11 @@ function textchange(number) { websock.send("tvalue:" + val + ":" + number); } +function tabclick(number) { + var val = $("#tab" + number).val(); + websock.send("tabvalue:" + val + ":" + number); +} + function selectchange(number) { var val = $("#select" + number).val(); websock.send("svalue:" + val + ":" + number);