Fixed issue with autocomplete not appearing

This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-17 22:16:43 +02:00
parent 78bf0f6750
commit c3935c993b
2 changed files with 3 additions and 3 deletions

View File

@@ -157,13 +157,13 @@ var Frontpage = {
var to_autocomplete = "input.desktop-search";
if(Helper.mobilecheck()) to_autocomplete = "input.mobile-search";
/*$(to_autocomplete).autocomplete({
$(to_autocomplete).autocomplete({
data: data,
limit: 5, // The max amount of results that can be shown at once. Default: Infinity.
onAutocomplete: function(val) {
Frontpage.to_channel(val, false);
},
});*/
});
//$(".autocomplete").off('keydown.autocomplete');