mirror of
https://github.com/EDCD/EDDN.git
synced 2026-10-22 20:42:10 +03:00
Remove gateway/relay sorting
So main gateway/relay stay at start in charts
This commit is contained in:
1 parent
85ab051b9a
commit
86cdb0d912
1 file changed
+2
-2
@@ -357,7 +357,7 @@ var start = function(){
|
||||
Highcharts.setOptions({global: {useUTC: false}});
|
||||
|
||||
// Grab gateways
|
||||
gateways = gateways.sort();
|
||||
//gateways = gateways.sort();
|
||||
$.each(gateways, function(k, gateway){
|
||||
gateway = gateway.replace('tcp://', '');
|
||||
gateway = gateway.replace(':8500', '');
|
||||
@@ -406,7 +406,7 @@ var start = function(){
|
||||
}, updateInterval);
|
||||
|
||||
// Grab relays
|
||||
relays = relays.sort();
|
||||
//relays = relays.sort();
|
||||
$.each(relays, function(k, relay){
|
||||
$("select[name=relays]").append($('<option>', {
|
||||
value: 'http://' + relay + ':' + relayBottlePort + '/stats/',
|
||||
|
||||
Reference in new issue
Block a user