From 9071cbdc25e97153086ac48bd389b04c43e56458 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 19 Aug 2022 18:53:25 +0200 Subject: Updates scripts and tests from dev/plugins --- assets/index.html | 154 +++++++++++++++++++++++++++--------------------------- 1 file changed, 76 insertions(+), 78 deletions(-) (limited to 'assets/index.html') diff --git a/assets/index.html b/assets/index.html index 64a2bdbf..1d4e4543 100644 --- a/assets/index.html +++ b/assets/index.html @@ -1,84 +1,82 @@ + + + + Discord Test Client + + + + + + - - - - Discord Test Client - - - - - - + +
+ - - - - - - - - - \ No newline at end of file + const settings = JSON.parse(localStorage.getItem("UserSettingsStore")); + if (settings && settings.locale.length <= 2) { + // fix client locale wrong and client not loading at all + settings.locale = "en-US"; + localStorage.setItem("UserSettingsStore", JSON.stringify(settings)); + } + + + + + + + + + -- cgit 1.4.1