summary refs log tree commit diff
path: root/api/client_test/index.html
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-02-11 22:03:21 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-02-11 22:03:21 +1100
commit84b8173f8017a2879ba212a6a147401220e98115 (patch)
treedee6a86e6ff821979811c9d1d074770f359e2b55 /api/client_test/index.html
parentMerge branch 'tsnode' into slowcord (diff)
parentAppropriate DB charset (#629) (diff)
downloadserver-84b8173f8017a2879ba212a6a147401220e98115.tar.xz
Merge branch 'master' into slowcord
Diffstat (limited to 'api/client_test/index.html')
-rw-r--r--api/client_test/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/api/client_test/index.html b/api/client_test/index.html

index 384c598a..39ff346d 100644 --- a/api/client_test/index.html +++ b/api/client_test/index.html
@@ -54,9 +54,14 @@ setInterval(() => { var token = JSON.parse(localStorage.getItem("token")); if (token) { + var logincss = document.querySelector('#logincss'), + canRemove = logincss ? logincss: ""; + if(canRemove !== "") { document.querySelector("#logincss").remove(); + canRemove = ""; + } } - }, 1000); + }, 1000) const settings = JSON.parse(localStorage.getItem("UserSettingsStore")); if (settings && settings.locale.length <= 2) {