If internal autocomplete index doesn't have 12 elemts (UI limit) query remote

This commit is contained in:
Łukasz Mierzwa
2017-04-18 13:25:36 -07:00
parent ad3ed87aed
commit e30d8b79e9
+2 -1
View File
@@ -13,7 +13,8 @@ var Autocomplete = (function() {
wildcard: '%QUERY',
rateLimitBy: 'throttle',
rateLimitWait: 300
}
},
sufficient: 12
});
autocomplete.initialize();
}