# HG changeset patch # User HIROSE Yuuji # Date 1635170423 -32400 # Node ID b8d09525a0b410d6815b5ffc9f50d7fa1e81bd5b # Parent 5d70fa029f8df8ca175102b5c20e1662903a8350 Typeset dynamically loaded document when MathJax is active diff -r 5d70fa029f8d -r b8d09525a0b4 s4-main.js --- a/s4-main.js Mon Oct 25 18:39:44 2021 +0900 +++ b/s4-main.js Mon Oct 25 23:00:23 2021 +0900 @@ -176,6 +176,9 @@ }, 100); cnt++; } + if (MathJax.typesetPromise) { + MathJax.typesetPromise(); // MathJax v3 + } console.log("Update "+cnt+"rows"); if (cnt>0 && ntr.scrollIntoView) { let option = {behavior: "smooth"};