font size is now initialised
This commit is contained in:
parent
b21254be94
commit
389c9528e9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue