Upgrade third party js logic improve load speed.

This commit is contained in:
凡梦星尘
2022-10-26 22:37:03 +08:00
parent 90df1e1247
commit 525c8a7cf5
10 changed files with 58 additions and 27 deletions

View File

@@ -1,4 +1,5 @@
NexT.comments.giscus = function() {
/* LiveRe comment plugin */
NexT.plugins.comments.livere = function() {
const element = '#lv-container';
if (!NexT.CONFIG.livere
|| !NexT.utils.checkDOMExist(element)) return;