improvement: 優化 pjax 下,右下角按鈕的動畫

fix: 修復頁面設置 aside 爲 true 時,js 報錯的 bug
fix: 修復部分頁面右下角按鈕位置遮擋的 bug
fix: 修復壓縮 html 代碼,友情鏈接頁面壓縮會報錯的 bug
fix: 修復safari上滑動側邊菜單欄會收起的 bug
This commit is contained in:
Jerry
2022-01-16 00:48:03 +08:00
Unverified
parent 31f17d1c64
commit 241f9b5873
5 changed files with 32 additions and 30 deletions

View File

@@ -7,7 +7,7 @@
else isHighlightShrink = theme.highlight_shrink
var showToc = false
if (theme.aside.enable) {
if (theme.aside.enable && page.aside !== false) {
let tocEnable = false
if (is_post()) {
if (theme.toc.post) tocEnable = true