summary refs log tree commit diff
path: root/api/client_test
diff options
context:
space:
mode:
Diffstat (limited to 'api/client_test')
-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) {