From 03ec13364c65fed9edd20ed186a186bcda2fabbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Thu, 20 Aug 2026 21:29:07 +0300 Subject: [PATCH] Fix onErrorActionTypeChange: sel.nextElementSibling -> sel.parentElement.nextElementSibling The Error Action HTML structure wraps the select in a flex div sibling to the .error-action-body div, so sel.nextElementSibling was null. --- frontend/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/index.html b/frontend/index.html index 96af86e..6f8d9b6 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2094,7 +2094,7 @@ function buildErrorActionRow() { } function onErrorActionTypeChange(sel) { - const body = sel.nextElementSibling; + const body = sel.parentElement.nextElementSibling; if (sel.value === 'proactive') { body.innerHTML = buildBerPcHtml(['display','tone']); const pc = body.querySelector('.ber-pc');