diff --git a/fontScaler.js b/fontScaler.js index e830d67..894971c 100644 --- a/fontScaler.js +++ b/fontScaler.js @@ -1,4 +1,4 @@ -var fontSize = parseInt(localStorage.getItem("fontSize")) ?? 100 +var fontSize = parseInt(localStorage.getItem("fontSize") ?? 100) document.documentElement.style.fontSize = fontSize + "%"; // code to make buttons work