Fix fuzzy init sort
This commit is contained in:
1 parent
1435d1893d
commit
dd535d2bed
1 file changed
+1
-1
+1
-1
@@ -31,7 +31,7 @@ function fuzzyInit(pagesFileName) {
|
||||
return;
|
||||
}
|
||||
|
||||
pages.sort();
|
||||
pages.sort((x, y) => {return ('' + x.title).localeCompare(y.title)});
|
||||
|
||||
searchField.addEventListener("keyup", (e) => {
|
||||
|
||||
|
||||
Reference in new issue
Block a user