Make fontSize set itself to 16 by default on chromium-based browsers

This commit is contained in:
Tracker-Friendly 2024-08-08 13:16:02 +01:00
parent 2c39b8697e
commit 7b95a3bc95
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ if (secretKey === null || password === null) {
window.location.replace("/login")
document.body.innerHTML = "Redirecting..."
throw new Error();
} else if (fontSize === null) {
} else if (fontSize === 0) {
localStorage.setItem("SETTING-fontsize", "16")
fontSize = 16
}