修复导航图标被章节目录遮盖的bug

pull/643/head
sunface 3 years ago
parent 32415bc099
commit e1dedb6f62

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

Loading…
Cancel
Save