From f601a40776843f6196221e74ba502c571a5b1bcd Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 12 Jul 2026 21:16:58 -0400 Subject: fix(admin): standardize most search dropdowns and radio buttons --- internal/admin/static/talktree.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/admin/static/talktree.js') diff --git a/internal/admin/static/talktree.js b/internal/admin/static/talktree.js index b8c7106..e55653e 100644 --- a/internal/admin/static/talktree.js +++ b/internal/admin/static/talktree.js @@ -207,7 +207,7 @@ else if (type === 'number') { var n = parseFloat(el.value); val = isNaN(n) ? 0 : n; } else { val = el.value; } talkSyncPath(path, val); - if (path.endsWith('.goto')) renderTalkTree(window._talkData); + if (path.endsWith('.goto') && e.type === 'change') renderTalkTree(window._talkData); } else if (tag === 'SELECT') { talkSyncPath(path, el.value); } @@ -492,7 +492,7 @@ label = label || 'Auto-advance to'; return '
' + '' + esc(label) + '' + - '' + + '' + '
'; } @@ -530,7 +530,7 @@ html += '
'; html += '' + (idx + 1) + ''; html += ''; - html += ''; + html += ''; html += '
'; if (opt.condition && typeof opt.condition === 'object' && !Array.isArray(opt.condition)) { @@ -582,7 +582,7 @@ html += '
' + '' + (options.length + 1) + '' + '' + - '' + + '' + '' + '' + '
'; -- cgit v1.2.3