This commit is contained in:
Jerry committed 2023-06-06 23:32:36 +08:00
1 parent 28d1744b9b
commit 5d52302a38
43 files changed
+431 -387

No files matched your search

+2 -3
View File
@@ -23,11 +23,10 @@ script.
})
}
if (typeof window.artalkItem === 'object') setTimeout(()=>{initArtalk()},200)
if (typeof window.artalkItem === 'object') initArtalk()
else {
getCSS('!{theme.asset.artalk_css}').then(()=>{
typeof Artalk !== 'function' ? getScript('!{theme.asset.artalk_js}').then(initArtalk)
: setTimeout(()=>{initArtalk()},200)
getScript('!{theme.asset.artalk_js}').then(initArtalk)
})
}
}