Forgot password?
 Create new account
View 173|Reply 6

下一页新增帖子标题没有被MathJax typeset过

[Copy link]

3148

Threads

8489

Posts

610K

Credits

Credits
66148
QQ

Show all posts

 Author| hbghlyj Posted at 2022-12-22 18:45:07 |Read mode
Last edited by hbghlyj at 2022-12-23 15:16:00
hbghlyj 发表于 2022-9-24 13:19
帖子列表页(forum display)点击“下一页”后,新出来的帖子标题没有被MathJax typeset过 ...

autoloadpage.js第22行
  1.         autopbn.onclick = function() {
  2.                 var oldloadstatus = loadstatus;
  3.                 loadstatus = 2;
  4.                 autopbn.innerHTML = '正在加载, 请稍后...';
  5.                 getnextpagecontent();
  6.                 loadstatus = oldloadstatus;
  7.         };
Copy the Code

在这个函数里,加上
  1. MathJax.typeset();
Copy the Code
这一行即可

701

Threads

110K

Posts

910K

Credits

Credits
94145
QQ

Show all posts

kuing Posted at 2024-12-9 22:57:29
hbghlyj 发表于 2022-12-22 18:45
在autoloadpage.js第22行

在这个函数里,加上这一行即可
快速回复时立即加入到楼层里的公式是不是也可以类似弄

Comment

以及点评中的公式  Posted at 2024-12-9 23:00
测试$f(x)$  Posted at 2024-12-9 23:00
具体加在哪  Posted at 2024-12-9 23:01

701

Threads

110K

Posts

910K

Credits

Credits
94145
QQ

Show all posts

kuing Posted at 2024-12-9 23:19:34
hbghlyj 发表于 2022-12-22 18:45
在autoloadpage.js第22行

在这个函数里,加上这一行即可
另外,我看了下当前的 autoloadpage.js,发现你实际上也不是放在 2# 说的 22 行,而是放在 80 行

3148

Threads

8489

Posts

610K

Credits

Credits
66148
QQ

Show all posts

 Author| hbghlyj Posted at 2025-3-22 08:32:00
kuing 发表于 2024-12-9 14:57
快速回复时立即加入到楼层里的公式是不是也可以类似弄
已实现

手机版Mobile version|Leisure Math Forum

2025-4-20 11:49 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list