From 44498e922914abbe9d2b49d8f2d8d9c05a06f7e8 Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Sun, 25 Sep 2022 17:33:40 +0800 Subject: =?UTF-8?q?:bug:=20Fix:=20=E5=88=87=E6=8D=A2=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=B8=8D=E5=85=B3=E9=97=AD=E4=B8=93=E6=B3=A8=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/matcha/matcha.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/matcha/matcha.js b/assets/matcha/matcha.js index 17fe9d6..be0c77f 100644 --- a/assets/matcha/matcha.js +++ b/assets/matcha/matcha.js @@ -363,7 +363,7 @@ $(document).pjax('a[href^="' + siteurl + '"]:not(a[target="_blank"], a[no-pjax], if ($('.toc').length) tocbot.destroy();//摧毁文章目录 $(window).off('scroll'); $(window).on('scroll', back2topShow);//取消文章目录自动关闭的滚动绑定 - if($(body).hasClass('focus-mode')) toggleFocusMode();//切换页面时关闭专注模式 + if($('body').hasClass('focus-mode')) toggleFocusMode();//切换页面时关闭专注模式 }).on('pjax:complete', function() { $("#main").removeClass("fadeout").addClass("fadein").hide().fadeIn(700); -- cgit v1.2.3