mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-28 01:39:29 +08:00
sorting the themes list alphabetically
This commit is contained in:
parent
c85453b03d
commit
dd3dd503ce
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ let themesList;
|
|||
|
||||
$.getJSON("themes/list.json", function(data) {
|
||||
commandsThemes.list = [];
|
||||
themesList = data;
|
||||
themesList = data.sort();
|
||||
data.forEach(theme => {
|
||||
commandsThemes.list.push({
|
||||
id: "changeTheme" + capitalizeFirstLetter(theme),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue