Unverified Commit ab50c404 authored by Julien1498's avatar Julien1498 Committed by GitHub
Browse files

🐛 Fix search bar

parent 0811d994
......@@ -72,7 +72,7 @@ function my_ajax_search()
success : function(response){
var str = '$(this).catcomplete({delay: 0, source: [';
$.each(response, function(i, item){
if(i < response.length - 1){
if(i < response.length){
$.each(response[i].data, function(j, item){
if(response[i].data[j].name) {
item_name=response[i].data[j].name;
......
Supports Markdown
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