font size is now initialised

This commit is contained in:
Rosia E Evans 2025-04-26 13:14:45 +01:00
parent b21254be94
commit 389c9528e9

View file

@ -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