From c301c555439091019db7e5ca49b69b550660baa7 Mon Sep 17 00:00:00 2001 From: milovanderlinden Date: Thu, 15 Oct 2015 14:29:00 +0200 Subject: [PATCH] Fix voor #400 --- public/js/libs/jquery.typeahead.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/js/libs/jquery.typeahead.js b/public/js/libs/jquery.typeahead.js index ba83a2e..1f0551a 100644 --- a/public/js/libs/jquery.typeahead.js +++ b/public/js/libs/jquery.typeahead.js @@ -496,7 +496,6 @@ } utils.each(shortestList, function(i, id) { var item = that.itemHash[id], isCandidate, isMatch; - isCandidate = utils.every(lists, function(list) { return ~utils.indexOf(list, id); }); @@ -507,7 +506,6 @@ }); isMatch && suggestions.push(item); }); - console.log("suggestions.length" + suggestions.length); return suggestions; }, initialize: function() {