Mercurial > hgrepos > hgweb.cgi > s4
comparison s4-main.js @ 982:f5a7fbd6c0d0 draft
Add reference URL in a comment
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 31 May 2022 12:01:07 +0900 |
parents | eb51a80f73c2 |
children | a094bd547d6b |
comparison
equal
deleted
inserted
replaced
981:eb51a80f73c2 | 982:f5a7fbd6c0d0 |
---|---|
1070 ) + rest; | 1070 ) + rest; |
1071 } | 1071 } |
1072 } | 1072 } |
1073 } | 1073 } |
1074 function initReplyHover(unit) { | 1074 function initReplyHover(unit) { |
1075 // https://stackoverflow.com/questions/60154233/event-when-typesetting-is-done-mathjax-3 | |
1075 if (mathjax && MathJax.startup) | 1076 if (mathjax && MathJax.startup) |
1076 MathJax.startup.promise.then(()=>rewriteReplyHover()); | 1077 MathJax.startup.promise.then(()=>rewriteReplyHover()); |
1077 else | 1078 else |
1078 rewriteReplyHover(); | 1079 rewriteReplyHover(); |
1079 } | 1080 } |