Fix fuzzy init sort
This commit is contained in:
parent
b278e2fac0
commit
d61a535a95
@ -31,7 +31,7 @@ function fuzzyInit(pagesFileName) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
pages.sort();
|
pages.sort((x, y) => {return ('' + x.title).localeCompare(y.title)});
|
||||||
|
|
||||||
searchField.addEventListener("keyup", (e) => {
|
searchField.addEventListener("keyup", (e) => {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user