mirror of
https://github.com/kalmarek/SmallHyperbolic
synced 2024-11-30 09:10: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;
|
margin-bottom: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.math-tex {
|
.math-text {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user