From 008ddcf0edb31dfab692e69ad645455a41f67d0b Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Sat, 23 Aug 2025 22:38:07 -0700 Subject: [PATCH] Update script.js --- webui/static/script.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/webui/static/script.js b/webui/static/script.js index 854a1a31..f0471331 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -3129,7 +3129,10 @@ function matchedDownloadAlbumTrack(albumIndex, trackIndex) { const albumData = results[albumIndex]; const trackData = albumData.tracks[trackIndex]; - // Pass the specific track as the main search result, but also pass the full album data for context. - openMatchingModal(trackData, true, albumData); + // This is the definitive fix. + // The second argument MUST be 'false' to treat this as a single track download, + // which prevents the modal from asking for an album selection. + openMatchingModal(trackData, false, albumData); } +