From 7c5614d13a76a8c577dafef8183aa5aa0f46cb70 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 29 Jan 2026 19:59:18 +0000 Subject: [PATCH] Fix button clicks being swallowed by collapsed step handler --- app/templates/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index b53123e..23d3601 100755 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -433,7 +433,8 @@ }); // Analyze playlist - $('#analyze-playlist-btn').click(function() { + $('#analyze-playlist-btn').click(function(e) { + e.stopPropagation(); // Prevent triggering collapsed handler if (!selectedPlaylistId) return; $(this).prop('disabled', true).text('Analyzing...'); @@ -486,7 +487,9 @@ }); // Continue to generator - $('#continue-to-generator').click(function() { + $('#continue-to-generator').click(function(e) { + e.stopPropagation(); // Prevent triggering collapsed handler + // Collapse step 2 and set summary $('#mood-profile').addClass('collapsed'); var topTags = [];