diff --git a/web/index.html b/web/index.html index 407308bf..0c40aba5 100644 --- a/web/index.html +++ b/web/index.html @@ -126,7 +126,7 @@ - + diff --git a/web/js/gameList.js b/web/js/gameList.js index 406b27e0..9b10b32a 100644 --- a/web/js/gameList.js +++ b/web/js/gameList.js @@ -30,7 +30,7 @@ const gameList = (() => { i > list.length ? i = list.length - 1 : (i % list.length + list.length) % list.length }, - set: (data = []) => list = data.sort((a, b) => a.title > b.title ? 1 : -1), + set: (data = []) => list = data.sort((a, b) => a.title.toLowerCase() > b.title.toLowerCase() ? 1 : -1), empty: () => list.length === 0 } })()