diff --git a/account/change/index.html b/account/change/index.html
index 2bb0194..a233c97 100644
--- a/account/change/index.html
+++ b/account/change/index.html
@@ -67,13 +67,9 @@
}
function resetAccounts() {
- // BUT
- let lang = localStorage.requestLanguage
-
- localStorage.clear()
-
- localStorage.requestLanguage = lang
-
+ localStorage.accountId = null
+ localStorage.accountName = null
+ localStorage.accounts = null
window.location.reload()
// MIGRATION NEEDED HERE!
@@ -82,7 +78,7 @@
function loadSwitcher() {
let modal = document.getElementById('account-change-modal')
- if (localStorage.accounts === undefined || localStorage.accounts.length === 0) {
+ if (localStorage.accounts === undefined || (localStorage.accounts === 'null' || localStorage.accounts === null) || localStorage.accounts.length === 0) {
modal.innerHTML = `
@@ -137,12 +133,14 @@
diff --git a/css/style.css b/css/style.css
index 646dc11..01a7203 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1988,7 +1988,7 @@ select {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(13rem, 2fr));
grid-auto-rows: 5rem;
- grid-gap: 2px;
+ grid-gap: 5px;
}
.stat-item {
@@ -1998,19 +1998,20 @@ select {
justify-content: center;
color: white;
background-color: rgb(16, 16, 16);
- transition: background-color .25s, scale .25s;
+ transition: all .25s;
+ border-radius: 15px;
}
.stat-item:hover {
background-color: rgb(27, 26, 26);
scale: 1.05;
- cursor: default;
+ z-index: 100;
}
.stat-item-title {
font-size: 18px;
text-transform: uppercase;
- font-family: burbank-bold;
+ font-family: headings-squash;
}
.stat-item-content {
diff --git a/stats/js/stats.js b/stats/js/stats.js
index 441ca7b..a8068ae 100644
--- a/stats/js/stats.js
+++ b/stats/js/stats.js
@@ -78,7 +78,7 @@ function searchPlayer(ID) {
//console.log(value, label)
let containera = document.createElement('div');
- containera.classList.add('stat-item');
+ containera.classList.add('stat-item', 'fortnite-button-border');
let code = document.createElement('p');
code.innerHTML = label;