www/js/mon_ispindel.js

changeset 699
4d5f3e9f7744
parent 685
a4fcdf24b5e7
child 848
542bdc7f6522
--- a/www/js/mon_ispindel.js	Wed Jun 03 21:02:57 2020 +0200
+++ b/www/js/mon_ispindel.js	Thu Jun 04 13:08:10 2020 +0200
@@ -158,9 +158,9 @@
     console.log ('set max ' + max);
     $('#gaugeContainer_gravity').jqxLinearGauge({ max: max });
     $('#vg_og1').html(og.toFixed(4));
-    $('#vg_og2').html(record.og_gravity.toFixed(1) + '°P');
+    $('#vg_og2').html(record.og_gravity.toFixed(3) + '°P');
     $('#vg_sg1').html(sg.toFixed(4));
-    $('#vg_sg2').html(record.gravity.toFixed(1) + '°P');
+    $('#vg_sg2').html(record.gravity.toFixed(3) + '°P');
     $('#vg_svg').html(svg.toFixed(1) + '%');
     $('#vg_abv').html(abvol(og, sg).toFixed(2) + '%');
    } else {
@@ -211,7 +211,7 @@
 
  $('#info_battery').jqxNumberInput(Show3dec);
  $('#info_tilt').jqxNumberInput(Show5dec);
- $('#info_plato').jqxNumberInput(Show2dec);
+ $('#info_plato').jqxNumberInput(Show3dec);
  $('#info_sg').jqxNumberInput(Show4dec);
 
  $('#gaugeContainer_temperature').jqxGauge(gaugeoptionst);

mercurial