From 61e77fad0ed324cc57cc939b258bc31c6b2c6365 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Sun, 22 May 2016 21:45:36 +0200 Subject: front: Fix minor, but crucial typo in the ping map Ooops... --- web/js/nms-map-handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js/nms-map-handlers.js') diff --git a/web/js/nms-map-handlers.js b/web/js/nms-map-handlers.js index ee54a4f..439459f 100644 --- a/web/js/nms-map-handlers.js +++ b/web/js/nms-map-handlers.js @@ -313,7 +313,7 @@ function pingUpdater() for (var sw in nmsData.switches.switches) { try { var c = nmsColor.getColorStop(pingInfo(sw).score); - if (c = 1000) { + if (c == 1000) { nmsMap.setSwitchColor(sw, nmsColor.blue); } else { nmsMap.setSwitchColor(sw, c); -- cgit v1.2.3