🐛 修复无法获取twikoo评论标签元素ID的bug

This commit is contained in:
零度冷咖啡 authored and GitHub committed 2020-12-07 08:25:02 +08:00 Unverified
1 parent 01e7929c02
commit 97fe932ad9
1 file changed
+2 -2
+2 -2
View File
@@ -33,11 +33,11 @@ script.
}
if ('!{theme.comments.use[0]}' === 'Twikoo' || !!{theme.comments.lazyload}) {
if (!{theme.comments.lazyload}) btf.loadComment(document.getElementById('twikoo'), loadTwikoo)
if (!{theme.comments.lazyload}) btf.loadComment(document.getElementById('twikoo-wrap'), loadTwikoo)
else loadTwikoo(true)
} else {
window.loadOtherComment = () => {
loadTwikoo()
}
}
})()
})()