1
0
mirror of https://github.com/kalmarek/SmallHyperbolic synced 2024-11-27 08:30:27 +01:00

enable KaTeX rendering by default

This commit is contained in:
Marek Kaluba 2022-02-11 18:17:06 +01:00
parent a08a59a7e1
commit ac89ae4776
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@ details[open] summary {
margin-bottom: .5em; margin-bottom: .5em;
} }
.math-tex { .math-text {
display: none; display: none;
} }

View File

@ -43,7 +43,7 @@ function toggleKaTeX(elt, toggle) {
let math_objects = document.getElementsByClassName("math"); let math_objects = document.getElementsByClassName("math");
let katex_switch = document.getElementById("renderWithKatex"); let katex_switch = document.getElementById("renderWithKatex");
katex_switch.checked = false; katex_switch.checked = true;
katex_switch.addEventListener( katex_switch.addEventListener(
"change", "change",
function () { function () {