@ -53,6 +53,11 @@ function rebuildSuggestions() {
})
}
// Trim the amount of results displayed
if (suggestions.length > 100) {
suggestions.splice(100)
suggestions.forEach(function (suggestion, index) {
var suggestionLi = document.createElement('li')
suggestionsArea.appendChild(suggestionLi)