Skip to content

Commit 697367e

Browse files
fix type casting bug introduced in 03fde5f
1 parent 03fde5f commit 697367e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cache.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# version 53
2+
# version 54
33

44
# gogole maps files
55
http://maps.google.com/maps/api/js?v=3.10&sensor=false&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg

js/tracker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,8 @@ function graphAddLastPosition(idx) {
829829

830830
if(isInt(v)) $.extend(true, data[i], { noInterpolate: true, lines: { steps: true }});
831831
}
832-
data[i].data.push([ts, v]);
833-
if(v < 0) delete plot_options.yaxes[i+1].min;
832+
data[i].data.push([ts, parseFloat(v)]);
833+
if(parseFloat(v) < 0) delete plot_options.yaxes[i+1].min;
834834
});
835835
}
836836

0 commit comments

Comments
 (0)