aboutsummaryrefslogtreecommitdiff
path: root/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'page.js')
-rw-r--r--page.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/page.js b/page.js
index ab04f66..249dc9d 100644
--- a/page.js
+++ b/page.js
@@ -92,12 +92,6 @@ function renderTex(el) {
{ left: "\\begin{CD}", right: "\\end{CD}", display: true },
{ left: "\\[", right: "\\]", display: true }
],
- errorCallback: (msg) => {
- console.error("ASAP: KaTeX:", msg);
- const span = document.createElement("span");
- span.innerText = msg;
- span.style.color = "red";
- el.prepend(span);
- },
+ throwOnError: false,
});
}