Skip to content

Commit a713658

Browse files
committed
chore: update comment page
1 parent 0d37d32 commit a713658

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

overrides/partials/comments.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ <h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
3030
if (palette && typeof palette.color === "object") {
3131
var theme = palette.color.scheme === "slate" ? "dark" : "light"
3232
giscus.setAttribute("data-theme", theme) // (1)!
33-
}
33+
}
3434

3535
/* Register event handlers after documented loaded */
36-
document.addEventListener("DOMContentLoaded", function() {
36+
document.addEventListener("DOMContentLoaded", function () {
3737
var ref = document.querySelector("[data-md-component=palette]")
38-
ref.addEventListener("change", function() {
38+
ref.addEventListener("change", function () {
3939
var palette = __md_get("__palette")
4040
if (palette && typeof palette.color === "object") {
4141
var theme = palette.color.scheme === "slate" ? "dark" : "light"
@@ -50,4 +50,4 @@ <h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
5050
})
5151
})
5252
</script>
53-
{% endif %}
53+
{% endif %}

0 commit comments

Comments
 (0)