From 7e3e297121293f16f90128d22a7246649702b1d2 Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Thu, 15 Jan 2026 16:55:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8=E5=90=8E=E9=80=80=E6=97=B6=E5=8F=8B=E9=93=BE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F=E6=AE=8B=E7=95=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 pjax:popstate 事件监听处理后退/前进 - 脚本执行时先检查并清理可能残留的状态 - 通过检测 style 标签是否存在来判断是否需要移除 class --- friend-links.php | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/friend-links.php b/friend-links.php index 0556458..35a8dd5 100644 --- a/friend-links.php +++ b/friend-links.php @@ -420,16 +420,41 @@ html.darkmode .flink-modal { background: var(--color-background); }