Ignore:
Timestamp:
Jul 21, 2016, 3:01:13 PM (10 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, app-cordova, debian/bullseye, debian/jessie, master
Children:
57449c8, 6c57d0a
Parents:
89c32b1 (diff), 76bbdad (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of ​https://svn.falaba.de/gnuboat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/webclient/javascript/main.js

    r89c32b1 r0e5045f  
    3838                        var value = lastValid[key];
    3939                        if($.isNumeric(value)){
     40                                var text = value.toFixed(1);
    4041                                if(key == "watertemperature"){
    41                                         value = Math.round(value);
     42                                        text = value.toFixed(0);
    4243                                }
    43                                 $("#display #"+ keys[i] +" #value").text(value.toString());
     44                                $("#display #"+ keys[i] +" #value").text(text);
    4445                        }
    4546                        else if(key == "gpsfix"){
Note: See TracChangeset for help on using the changeset viewer.