From 232f61d6318a90e2b234f6ad094f56dc41547ed3 Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Fri, 16 Jan 2026 19:56:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=95=B0=E5=AD=A6?= =?UTF-8?q?=E5=85=AC=E5=BC=8F=E8=AE=BE=E7=BD=AE=E8=A2=AB=E9=94=81=E6=AD=BB?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=88=87=E6=8D=A2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 点击 CDN 输入框时会触发 label 的点击事件,导致 radio 被选中 - 添加 JS 事件处理,阻止输入框点击事件冒泡到 label --- settings.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/settings.php b/settings.php index 7d1505e..5b42fc1 100644 --- a/settings.php +++ b/settings.php @@ -5450,6 +5450,11 @@ window.pjaxLoaded = function(){ }); + // 防止数学公式 CDN 输入框点击时触发 radio 选中 + $(document).on("click", ".form-table-mathrender input[type='text']", function(e){ + e.stopPropagation(); + }); + $(function () { $(document).headIndex({