www/js/mon_ispindel.js

changeset 632
8a2f2e76c727
parent 631
450ac489bbe7
child 645
3b1510050c9b
--- a/www/js/mon_ispindel.js	Tue Mar 10 11:48:38 2020 +0100
+++ b/www/js/mon_ispindel.js	Wed Mar 11 14:29:28 2020 +0100
@@ -168,6 +168,8 @@
    if (batt < 0)
     batt = 0;
    batt = Math.round(batt / 1.17875 * 100); // 100% range
+   if (batt > 100)
+    batt = 100;
    $('#vg_batt').html(batt + '%');
 
 

mercurial