From 30b382b3387a8f2ebb6723ffd7840b8de8f2815d Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Tue, 14 Nov 2017 15:00:57 +0100 Subject: [PATCH] Update sumorobot.js --- sumorobot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sumorobot.js b/sumorobot.js index 15932b5..1aded82 100755 --- a/sumorobot.js +++ b/sumorobot.js @@ -57,7 +57,7 @@ Sumorobot.prototype.connect = function() { var battery = JSON.parse(data)["battery_voltage"]; battery = Math.round((((battery - 3.0) * 100) / (4.2 - 3.0))); $("#battery").html(battery + "%"); - $("#bar").html("Battery"); + //$("#bar").html("Battery"); $("#bar").addClass("connected"); }; /* when there is an WebSocket error */