From 0c47c22556c278cd044713bc2f5f9f34ef85c854 Mon Sep 17 00:00:00 2001 From: gauthiier Date: Fri, 12 Jul 2019 11:47:36 +0200 Subject: [PATCH] no consol debugs --- www/static/search.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/www/static/search.js b/www/static/search.js index b37eb38..384a5ae 100644 --- a/www/static/search.js +++ b/www/static/search.js @@ -11,7 +11,7 @@ $(document).ready(function(){ $('#loading').show() $.get('/search?'+ args, function(data) { $('#loading').hide() - console.log(data); + // console.log(data); // $('#graph').empty(); // $('#results').empty(); $.each(data.result, function(i, item) { @@ -35,8 +35,6 @@ function search_result_archive(a) { text: r.thread.replace('_', ' ') }).appendTo('#' + a.archive); let hits = ""; $('#' + r.thread + "-" + a.archive).append(hits); - - console.log("***"); - }); } @@ -72,7 +67,6 @@ function format(date) { "Nov", "Dec" ]; return month_names[date.getMonth()] + ' ' + date.getFullYear(); - //return date.getMonth() + ' - ' + date.getFullYear(); } @@ -90,17 +84,6 @@ function graph(data) { vec.push(ar_vec); } - - // var x_axis = new Array(d + 1); - // x_axis[0] = 'x'; - // for (let i = 1; i < d+1; i++) { - // let d = new Date(min_month.getFullYear(), min_month.getMonth()); - // d.setMonth(d.getMonth() + (i - 1)); - // x_axis[i] = format(d); - // } - - // vec.push(x_axis); - var x_axis = new Array(d); for (let i = 0; i < d; i++) { let d = new Date(min_month.getFullYear(), min_month.getMonth());