1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-16 23:22:20 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

书籍页添加下载部分;获取URL参数考虑带#锚点情况;解决页面重复获取压缩字体问题

This commit is contained in:
2022-04-16 20:34:25 +08:00
parent af5e0a50d7
commit 30c557d046
10 changed files with 317 additions and 14 deletions

View File

@@ -65,6 +65,10 @@
$(document).ready(function () {
var allText = getPageText();
// console.log(allText);
fontmin(allText);
if ('<%= typeof(minfontOnLoad) === "undefined" ? "true" : minfontOnLoad %>' != "false") {
fontmin(allText);
} else {
// $("html,body").css("opacity", "1");
}
});
</script>