8.9 全部功能写完了

This commit is contained in:
小赵同学 committed 2024-08-09 12:58:42 +08:00
1 parent acde3e57aa
commit 64c3e260d4
203 files changed
+1491 -3509

No files matched your search

+9 -10
View File
@@ -180,17 +180,16 @@ document.addEventListener("pjax:complete", function () {
});
});
// 重载评论
if(document.querySelector("#Comments")){
if (document.querySelector("#Comments") && !isMobile()) {
for (let i = 0; i <= 5; i++) {
loadBarrager()
}
Artalk.init({
el: '#Comments', // 绑定元素的 Selector
server: 'https://artalk.5b2.cn', // 后端地址
site: '优世界', // 你的站点名
flatMode: true
})
}
// 重载文章弹幕
if(!isMobile()){
loadBarrager();
el: '#Comments', // 绑定元素的 Selector
server: 'https://artalk.5b2.cn', // 后端地址
site: '优世界', // 你的站点名
flatMode: true
})
}
});