mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
limit number of autocomplete results to 100, closes #44
This commit is contained in:
parent
0e9473119e
commit
1efac99828
@ -126,6 +126,10 @@ $.ui.autocomplete.filter = (array, terms) => {
|
||||
|
||||
if (found) {
|
||||
results.push(item);
|
||||
|
||||
if (results.length > 100) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user