From 5949c104c31287535fa21c7ecbdd1a44a8197bc1 Mon Sep 17 00:00:00 2001 From: BoulderBadgeDad Date: Wed, 3 Jun 2026 15:33:39 -0700 Subject: [PATCH] Similar Artists orb: reliable pause + standard addEventListener wiring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Orb wouldn't pause when the worker had finished its library: the toggle keyed off classList.contains('active'), but a done worker sits in the green 'complete'/idle state, so clicking tried to resume (no-op). Now it pauses unless already paused → pausable in any state. - Switched from inline onclick to addEventListener (matches spotify/itunes/etc., the majority pattern) instead of the amazon/discogs inline style. --- webui/index.html | 3 +-- webui/static/enrichment.js | 9 ++++++--- 2 files changed, 7 insertions(+), 5 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 @@
-