From fa8e4640392bd8aa63282ceec79eb1119282ddc3 Mon Sep 17 00:00:00 2001 From: Garret Heaton Date: Fri, 23 Nov 2012 10:01:53 -0800 Subject: [PATCH] Remove old logging --- www/default.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/default.js b/www/default.js index 938a871f..54cf9197 100644 --- a/www/default.js +++ b/www/default.js @@ -57,18 +57,17 @@ $("#cost-dropdown li").bind("click", function(e) { change_cost(e.target.getAttribute("duration")); }); -// sorting for IO perf column +// sorting for colums with more complex data // http://datatables.net/plug-ins/sorting#hidden_title jQuery.extend(jQuery.fn.dataTableExt.oSort, { "span-sort-pre": function(elem) { var matches = elem.match(/sort="(.*?)"/); if (matches) { - console.log(elem + " - " + parseInt(matches[1], 10)); return parseInt(matches[1], 10); } return 0; }, - + "span-sort-asc": function(a, b) { return ((a < b) ? -1 : ((a > b) ? 1 : 0)); },