This commit is contained in:
MinLiang Zeng 2022-03-28 09:37:42 +00:00 committed by GitHub
commit 813bc424eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,10 +13,10 @@
<script>
window.addEventListener('onColorSchemeChange', (e) => {
if (DISQUS) {
DISQUS.reset({
if (window.DISQUS) {
window.DISQUS.reset({
reload: true
});
}
})
</script>
</script>