Commit e819af10 authored by Mathieu Giraud's avatar Mathieu Giraud

autocomplete.js: clean

parent a2f1ac79
......@@ -134,7 +134,6 @@ VidjilAutoComplete.prototype = {
},
sorter: function(query, items, searchKey) {
return items.sort(function(a, b){
console.log("a: " + a[searchKey] + " b: " + b[searchKey]);
if(a[searchKey] < b[searchKey]) {
return -1;
} else if (a[searchKey] == b[searchKey]) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment