From 227cc8ee0c4640d4e8eb63bde2f8742ea7199a81 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Mar 2018 13:53:50 +0100 Subject: Make health-map default --- web/index.html | 4 ++-- web/js/nms.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/index.html b/web/index.html index 63ae4c3..aeb26b3 100644 --- a/web/index.html +++ b/web/index.html @@ -190,7 +190,7 @@ 1 - View Ping map + View super-map/health map 2 @@ -202,7 +202,7 @@ 4 - View super-map + View Ping map 5 diff --git a/web/js/nms.js b/web/js/nms.js index edb18b2..5421f2f 100644 --- a/web/js/nms.js +++ b/web/js/nms.js @@ -427,7 +427,7 @@ function detectHandler() { } } } - setUpdater(handler_ping); + setUpdater(handler_health); } function getUrlVars() { @@ -462,7 +462,7 @@ function setMapModeFromN(e,key) { switch(key) { case '1': - setUpdater(handler_ping); + setUpdater(handler_health); break; case '2': setUpdater(handler_uplinks); @@ -471,7 +471,7 @@ function setMapModeFromN(e,key) setUpdater(handler_dhcp); break; case '4': - setUpdater(handler_health); + setUpdater(handler_ping); break; case '5': setUpdater(handler_temp); -- cgit v1.2.3