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:
parent
a08a59a7e1
commit
ac89ae4776
@ -21,6 +21,6 @@ details[open] summary {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
||||
.math-tex {
|
||||
.math-text {
|
||||
display: none;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ function toggleKaTeX(elt, toggle) {
|
||||
|
||||
let math_objects = document.getElementsByClassName("math");
|
||||
let katex_switch = document.getElementById("renderWithKatex");
|
||||
katex_switch.checked = false;
|
||||
katex_switch.checked = true;
|
||||
katex_switch.addEventListener(
|
||||
"change",
|
||||
function () {
|
||||
|
Loading…
Reference in New Issue
Block a user