changeset 944:3891edb19b0b draft

Reference error fixed
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 25 Oct 2021 23:14:53 +0900
parents b8d09525a0b4
children 29342754a2d0
files s4-main.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-main.js	Mon Oct 25 23:00:23 2021 +0900
+++ b/s4-main.js	Mon Oct 25 23:14:53 2021 +0900
@@ -176,7 +176,7 @@
 	    }, 100);
 	    cnt++;
 	}
-	if (MathJax.typesetPromise) {
+	if (MathJax && MathJax.typesetPromise) {
 	    MathJax.typesetPromise(); // MathJax v3
 	}
 	console.log("Update "+cnt+"rows");

yatex.org