Skip to content

Commit 00ac7e2

Browse files
authored
Update assets/js/autocomplete/suggestions.js
1 parent 7852703 commit 00ac7e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/autocomplete/suggestions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const DEFAULT_AUTOCOMPLETE_LIMIT = 10
3131
* @returns {Suggestion[]} List of suggestions sorted and limited.
3232
*/
3333
export function getSuggestions (query, explicitLimit = null) {
34-
const limit = explicitLimit || window.autocompleteLimit || DEFAULT_AUTOCOMPLETE_LIMIT || 10
34+
const limit = explicitLimit || window.autocompleteLimit || DEFAULT_AUTOCOMPLETE_LIMIT
3535
if (isBlank(query)) {
3636
return []
3737
}

0 commit comments

Comments
 (0)