From 4ebd60b25b824590e37cd25b5a1d9be66d271809 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 30 Aug 2020 02:34:48 +0100 Subject: [PATCH] refreshing the color object later while randomising the theme to hopefully fix the bug where the keymap colors would be wrong --- public/js/userconfig.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/js/userconfig.js b/public/js/userconfig.js index fb2987242..075ada870 100644 --- a/public/js/userconfig.js +++ b/public/js/userconfig.js @@ -690,9 +690,6 @@ function randomiseTheme() { randomList = config.favThemes; let randomtheme = randomList[Math.floor(Math.random() * randomList.length)]; setTheme(randomtheme, true); - setTimeout(() => { - refreshThemeColorObject(); - }, 125); } function setRandomTheme(val, nosave) {