diff --git a/index.html b/index.html index 35c52ca4b6127af1943fe5ce22bfdbc1c093a05f..89a522847fea7163614adaee3efb128794c05204 100644 --- a/index.html +++ b/index.html @@ -31,8 +31,8 @@ <thead> <tr> <th>URL</th> - <th>Velocidad</th> - <th>Respuesta (HTTP HEAD)</th> + <th>Velocidad, kbps</th> + <th>Respuesta, ms</th> <th>PaĆs</th> <th>Privacidad STUN</th> <th>Privacidad Host</th> diff --git a/jitsimeter.js b/jitsimeter.js index 13087a8da3425a99727ac475e340ddf665b1c13b..443794b916523ddc5ab87671117ee8659fe46124 100644 --- a/jitsimeter.js +++ b/jitsimeter.js @@ -8,8 +8,8 @@ $(document).ready(function() { "paging": false, "columns": [ { "data": "domain", render: function(value) { return "<a href='https://"+value+"'>"+value+"</a>"; } }, - { "data": "download", defaultContent: "-", render: function(value) { return (value) ? value+" kbps" : "-"; } }, - { "data": "rtt", defaultContent: "-", render: function(value) { return (value) ? value+" ms" : "-"; } }, + { "data": "download", type: "num-fmt", defaultContent: "-"}, + { "data": "rtt", type: "num-fmt", defaultContent: "-" }, { "data": "countryCode" }, { "data": "bad", render: function(value) { return (value === true) ? "Corporativo :(" : "Es privado :)"; } }, { "data": "hosterBad", render: function(value) { return (value === true) ? "Corporativo :(" : "Es privado :)"; } },