mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 13:01:10 +08:00
sorting the themes list alphabetically
This commit is contained in:
parent
13cb7fb5f7
commit
81bb7a03c6
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…
Reference in a new issue