diff --git a/_includes/comments/remark42.html b/_includes/comments/remark42.html index f17e91d..a986573 100644 --- a/_includes/comments/remark42.html +++ b/_includes/comments/remark42.html @@ -27,9 +27,9 @@ if (targetDiv != null) { targetDiv.addEventListener("click", () => { if (document.documentElement.hasAttribute("data-mode")) { - window.REMARK42.changeTheme('dark'); - } else { window.REMARK42.changeTheme('light'); + } else { + window.REMARK42.changeTheme('dark'); } }) }