This commit is contained in:
joyqat 2021-05-23 21:19:03 +02:00 committed by GitHub
commit 8674ff63b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -502,7 +502,9 @@
// ============================ mathjax ============================ // ============================ mathjax ============================
document.querySelectorAll("mjx-container").forEach(function (x) { document.querySelectorAll("mjx-container").forEach(function (x) {
x.parentElement.classList += 'has-jax' if(!x.parentElement.classList.contains('has-jax')) {
x.parentElement.classList += 'has-jax';
}
}); });
// ================================================================= // =================================================================