From c111edcf4ce7c93a08321352cd6abc93ed510575 Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Mon, 12 Jan 2026 16:56:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E6=8C=89=E9=92=AE=E6=97=A0=E6=B3=95=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将按钮初始状态从 d-none 改为 fabtn-hidden - 统一使用 fabtn-hidden 类控制按钮显示/隐藏 - 修复后台设置不生效导致按钮无法显示的问题 - 添加 !important 确保隐藏样式优先级 --- argontheme.js | 4 ++-- header.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/argontheme.js b/argontheme.js index 71ece0b..5e46a43 100644 --- a/argontheme.js +++ b/argontheme.js @@ -710,9 +710,9 @@ if (argonConfig.waterflow_columns != "1") { }) if ($("#post_comment").length > 0){ - $("#fabtn_go_to_comment").removeClass("d-none"); + $("#fabtn_go_to_comment").removeClass("fabtn-hidden"); }else{ - $("#fabtn_go_to_comment").addClass("d-none"); + $("#fabtn_go_to_comment").addClass("fabtn-hidden"); } $goToComment.on("click" , function(){ var commentsArea = $("#comments"); diff --git a/header.php b/header.php index 4530f42..a62e5d6 100644 --- a/header.php +++ b/header.php @@ -1309,7 +1309,7 @@ if (apply_filters('argon_page_background_url', get_option('argon_page_background -