diff --git a/public/js/commandline.js b/public/js/commandline.js index 2431c77c4..52745f4b0 100644 --- a/public/js/commandline.js +++ b/public/js/commandline.js @@ -233,9 +233,11 @@ let commandsTimeConfig = { ] }; +let themesList; $.getJSON("themes/list.json", function(data) { commandsThemes.list = []; + themesList = data; data.forEach(theme => { commandsThemes.list.push({ id: "changeTheme" + capitalizeFirstLetter(theme),