Fix fuzzy init sort

This commit is contained in:
Paul W. 2021-10-01 02:03:22 -04:00
parent b278e2fac0
commit d61a535a95

View File

@ -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) => {