diff options
Diffstat (limited to 'api/client_test/index.html')
-rw-r--r-- | api/client_test/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/client_test/index.html b/api/client_test/index.html index 7a4fe627..f58a4bca 100644 --- a/api/client_test/index.html +++ b/api/client_test/index.html @@ -53,9 +53,9 @@ ); setInterval(() => { - var token = JSON.parse(localStorage.getItem("token")); + let token = JSON.parse(localStorage.getItem("token")); if (token) { - var logincss = document.querySelector('#logincss'), + let logincss = document.querySelector('#logincss'), canRemove = logincss ? logincss: ""; if(canRemove !== "") { document.querySelector("#logincss").remove(); |