fixed 移动端修复pjax加载评论不显示bug
This commit is contained in:
1 parent
b2b5720880
commit
9620cbd257
2 files changed
+2
-2
No files matched your search
@@ -183,7 +183,7 @@ document.addEventListener("pjax:complete", function () {
|
||||
site: '优世界', // 你的站点名
|
||||
// 使用全局变量或 DOM 读取 pageKey
|
||||
// 必须动态获取当前页面的 pid (RelPermalink)
|
||||
pageKey: document.getElementById('data-pid')?.innerText || location.pathname,
|
||||
pageKey: document.getElementById('data-pid')?.textContent?.trim() || location.pathname,
|
||||
flatMode: true,
|
||||
emoticons: '/emotion/OwO.json'
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user