Fixed logging in on new devices after last commit

This commit is contained in:
CasVT
2023-07-01 00:25:02 +02:00
parent 34a0ef3e88
commit 84660ccad3
2 changed files with 5 additions and 1 deletions

View File

@@ -287,7 +287,8 @@ nav > div > button svg {
align-items: center;
flex-wrap: wrap;
gap: 1rem;
padding-inline: .5rem;
padding-top: 1rem;
}

View File

@@ -110,6 +110,9 @@ function checkLogin() {
// code run on load
if (localStorage.getItem('MIND') === null)
localStorage.setItem('MIND', JSON.stringify({'api_key': null, 'locale': 'en-GB'}))
const url_prefix = document.getElementById('url_prefix').dataset.value;
checkLogin();