main
PJ568 11 months ago
parent 86bba0f245
commit 149c7dae4b

@ -29,6 +29,7 @@ switch (lang) {
}
var giscus = function () {
if (document.getElementById("giscus-container") != null) {
const script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://giscus.app/client.js";
@ -49,7 +50,9 @@ var giscus = function () {
script.crossOrigin = "anonymous";
script.async = true;
document.getElementById("giscus-container").appendChild(script);
}
};
window.addEventListener('load', giscus);
Loading…
Cancel
Save