diff --git a/index.html b/index.html index 9401e39..cc981c6 100644 --- a/index.html +++ b/index.html @@ -637,12 +637,19 @@ {currentSong.artist} {currentSong.album ? `ยท ${currentSong.album}` : ''}

- { e.stopPropagation(); toggleLike(currentSong); }} - /> + { + e.stopPropagation(); + // Ensure we pass a clean object copy with normalized source to trigger updates correctly + toggleLike({ + ...currentSong, + source: currentSong.platform || currentSong.source + }); + }} + />