Skip to content

Commit 2c084b7

Browse files
small bug fix, to prevent some errors popping up
1 parent d4eecc9 commit 2c084b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 82
2+
# version 83
33

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

js/plot_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function updateLegend() {
9292
}
9393
y = y.toFixed(2);
9494

95-
if(p1[1] == null || p2[1] == null) y = null;
95+
if((p1 && p1[1] == null) || (p2 && p2[1] == null)) y = null;
9696
}
9797
legend.eq(i).text(series.label.replace(/=.*/, "= " + y));
9898
}

0 commit comments

Comments
 (0)