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 = "
";
-
- console.log("---")
$.each(r.hits, function(j, h){
@@ -47,9 +45,6 @@ function search_result_archive(a) {
});
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());