aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/nms2/js/nms.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2015-04-29 12:26:45 +0200
committerKristian Lyngstol <kristian@bohemians.org>2015-04-29 12:26:45 +0200
commit2c9231ff1b71e608b369df8666b3b1ec2f32bb74 (patch)
tree0d7e13709c880b3dec177ee448c60c2a66855e5e /web/nms.gathering.org/nms2/js/nms.js
parent9502fc0d398de46cea301a921b16f945289fdffd (diff)
NMS: Add "total switch speed" map
I'm thinking of factoring ifhighspeed for the scaling...
Diffstat (limited to 'web/nms.gathering.org/nms2/js/nms.js')
-rw-r--r--web/nms.gathering.org/nms2/js/nms.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/nms.gathering.org/nms2/js/nms.js b/web/nms.gathering.org/nms2/js/nms.js
index f6d7bb0..d4cf4e8 100644
--- a/web/nms.gathering.org/nms2/js/nms.js
+++ b/web/nms.gathering.org/nms2/js/nms.js
@@ -73,6 +73,7 @@ var nms = {
'4':setMapModeFromN,
'5':setMapModeFromN,
'6':setMapModeFromN,
+ '7':setMapModeFromN,
'h':moveTimeFromKey,
'j':moveTimeFromKey,
'k':moveTimeFromKey,
@@ -1526,6 +1527,9 @@ function setMapModeFromN(e,key)
setUpdater(handler_comment);
break;
case '6':
+ setUpdater(handler_traffic_tot);
+ break;
+ case '7':
setUpdater(handler_disco);
break;
}