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);