diff --git a/assets/custom.js b/assets/custom.js index 10d5422e..2c773238 100644 --- a/assets/custom.js +++ b/assets/custom.js @@ -112,7 +112,8 @@ var initAll = function () { script.setAttribute("data-input-position", "top"); script.setAttribute("data-theme", theme); script.setAttribute("data-lang", lang); - script.setAttribute("data-loading", "lazy"); + // 预先加载评论会更好,这样用户读到那边时,评论就加载好了 + // script.setAttribute("data-loading", "lazy"); document.getElementById("giscus-container").appendChild(script); };