Make fontSize set itself to 16 by default on chromium-based browsers
This commit is contained in:
parent
2c39b8697e
commit
7b95a3bc95
|
@ -9,7 +9,7 @@ if (secretKey === null || password === null) {
|
||||||
window.location.replace("/login")
|
window.location.replace("/login")
|
||||||
document.body.innerHTML = "Redirecting..."
|
document.body.innerHTML = "Redirecting..."
|
||||||
throw new Error();
|
throw new Error();
|
||||||
} else if (fontSize === null) {
|
} else if (fontSize === 0) {
|
||||||
localStorage.setItem("SETTING-fontsize", "16")
|
localStorage.setItem("SETTING-fontsize", "16")
|
||||||
fontSize = 16
|
fontSize = 16
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue