✨ feat: add support for Hyvor Talk comments
This commit is contained in:
@@ -9,7 +9,7 @@ function setTheme(theme) {
|
||||
document.documentElement.setAttribute("data-theme", theme);
|
||||
localStorage.setItem("theme", theme);
|
||||
|
||||
// Dispatch a custom event for utterances and giscus.
|
||||
// Dispatch a custom event for comment systems.
|
||||
const event = new CustomEvent("themeChanged", {
|
||||
detail: { theme: theme }
|
||||
});
|
||||
|
Reference in New Issue
Block a user