diff options
Diffstat (limited to 'search/js/result.js')
-rw-r--r-- | search/js/result.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search/js/result.js b/search/js/result.js index 27a2383e2c3..aaecde08c6b 100644 --- a/search/js/result.js +++ b/search/js/result.js @@ -45,7 +45,7 @@ OC.search.showResults=function(results){ var row=$('#searchresults tr.template').clone(); row.removeClass('template'); row.addClass('result'); - if (index == 0){ + if (i == 0){ row.children('td.type').text(name); } row.find('td.result a').attr('href',type[i].link); |