mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01: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);
|
|
});
|