Merge pull request #437 from Dreamy-TZK/dev

修改twikoo评论无法正常显示的问题
This commit is contained in:
Jerry Wong
2020-12-07 21:17:09 +08:00
committed by GitHub
Unverified

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()
}
}
})()
})()