diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-22 21:45:36 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-22 21:45:36 +0200 |
commit | 61e77fad0ed324cc57cc939b258bc31c6b2c6365 (patch) | |
tree | b488561078c0b9e67aad87ba87b2817fa40c5c7f /web | |
parent | 9ae61c5ea201faa2dd9a780ee4caa9dc30d4f059 (diff) |
front: Fix minor, but crucial typo in the ping map
Ooops...
Diffstat (limited to 'web')
-rw-r--r-- | web/js/nms-map-handlers.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |