~j-james/covid

7c6e473ddfd4324aeb128081f7b05a4417b58f09 — j-james 2 years ago 9e4f088
Syntax errors
1 files changed, 1 insertions(+), 1 deletions(-)

M js/graph.js
M js/graph.js => js/graph.js +1 -1
@@ 207,7 207,7 @@ function state(data, state) {
		}
	}
	for (i = 0; i < pos.length-1; i++) {
		if (pos[i] - pos[i+1]) > 0
		if ((pos[i] - pos[i+1]) > 0)
			ddx.push(pos[i] - pos[i+1]); // This dataset starts with the most recent values
		else
			ddx.push(ddx[ddx.length - 1]);