aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-05-22 21:45:36 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-05-22 21:45:36 +0200
commit61e77fad0ed324cc57cc939b258bc31c6b2c6365 (patch)
treeb488561078c0b9e67aad87ba87b2817fa40c5c7f /web
parent9ae61c5ea201faa2dd9a780ee4caa9dc30d4f059 (diff)
front: Fix minor, but crucial typo in the ping map
Ooops...
Diffstat (limited to 'web')
-rw-r--r--web/js/nms-map-handlers.js2
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);