mirror of
https://gitee.com/butubb8/blowfish.git
synced 2025-12-05 14:17:50 +08:00
If MDN explicitly warns user not to use them, we probably shouldn't. MDN also states: "Note that inline event handlers are blocked as well[...]You should replace them with addEventListener calls[...]" regarding CSP.
5 lines
164 B
JavaScript
5 lines
164 B
JavaScript
document.getElementById("katex-render") &&
|
|
document.getElementById("katex-render").addEventListener("load", () => {
|
|
renderMathInElement(document.body);
|
|
});
|