From 7b95a3bc954782ca3da5fee1718ea39196e9766d Mon Sep 17 00:00:00 2001 From: Arzumify Date: Thu, 8 Aug 2024 13:16:02 +0100 Subject: [PATCH] Make fontSize set itself to 16 by default on chromium-based browsers --- static/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/main.js b/static/js/main.js index 841b51e..a4ac5c4 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -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 }