From 0a77542d842a99dfa2b412448a6990189146b0c8 Mon Sep 17 00:00:00 2001 From: BoulderBadgeDad Date: Wed, 3 Jun 2026 16:03:45 -0700 Subject: [PATCH] Similar Artists orb: match the AudioDB/standard wiring exactly (no inline onclick) Root cause of 'click does nothing': I flip-flopped between inline onclick and addEventListener. A cached index.html with my inline onclick + fresh JS with addEventListener = the click fires the toggle TWICE (pause then resume) = no net change. Now identical to AudioDB/Deezer/etc.: NO inline onclick on the button, single addEventListener('click', toggle) in the init. One handler, one fire. --- webui/index.html | 3 +-- webui/static/enrichment.js | 27 ++++++++++++++++----------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/webui/index.html b/webui/index.html index 2d8d7d97..f9c2507a 100644 --- a/webui/index.html +++ b/webui/index.html @@ -567,8 +567,7 @@
-