mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
limit number of autocomplete results to 100, closes #44
This commit is contained in:
@@ -126,6 +126,10 @@ $.ui.autocomplete.filter = (array, terms) => {
|
||||
|
||||
if (found) {
|
||||
results.push(item);
|
||||
|
||||
if (results.length > 100) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user