www/js/global.js

changeset 170
71850ebe5a1c
parent 167
dabcd35f8f92
child 186
a7c2c61a01ad
--- a/www/js/global.js	Fri Jan 04 20:17:32 2019 +0100
+++ b/www/js/global.js	Fri Jan 04 20:32:11 2019 +0100
@@ -501,7 +501,7 @@
 
 function srm_to_color(srm) {
 
-	i = Math.round(srm * 10);
+	var i = Math.round(srm * 10);
         if (i < 0) {
 		i = 0;
 	}

mercurial