summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/mirrors/status.html2
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html
index 1111d047..10f409c9 100644
--- a/templates/mirrors/status.html
+++ b/templates/mirrors/status.html
@@ -122,11 +122,9 @@ $.tablesorter.addParser({
return ($.inArray(s, special) > -1) || /^[0-9]+:[0-5][0-9]$/.test(s);
},
format: function(s) {
- console.log('duration: ' + s);
var special = ['', 'unknown', '∞'];
if($.inArray(s, special) > -1) return Number.MAX_VALUE;
matches = /^([0-9]+):([0-5][0-9])$/.exec(s);
- console.log(s, matches[1] * 60 + matches[2]);
return matches[1] * 60 + matches[2];
},
type: 'numeric'