From 35395ba865a7ec233d78835ef76eeba1f3c7af10 Mon Sep 17 00:00:00 2001
From: Faras <faras@partidopirata.com.ar>
Date: Sat, 4 Apr 2020 17:44:33 -0600
Subject: [PATCH] Fix column ordering

---
 index.html    | 4 ++--
 jitsimeter.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/index.html b/index.html
index 35c52ca..89a5228 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 13087a8..443794b 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 :)"; } },
-- 
GitLab