From dce15cfab088d2f01a01dd900c4d6220d6ef0f80 Mon Sep 17 00:00:00 2001 From: ch3p4ll3 Date: Thu, 16 Nov 2023 20:59:47 +0100 Subject: [PATCH] clear interval --- Web-App/index.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Web-App/index.html b/Web-App/index.html index 82c8a3e..6e7756b 100755 --- a/Web-App/index.html +++ b/Web-App/index.html @@ -217,10 +217,8 @@
Remaining Shots:
timer = setInterval(function() { _shots.readValue().then((value) => { - console.log(value) var enc = new TextDecoder(); // always utf-8 - console.log(enc.decode(value)); - $('#remaining-shots').text(value) + $('#remaining-shots').text(enc.decode(value)) }) }, 500);