Update script.js
This commit is contained in:
parent
ea9f351bdb
commit
3dba6f97c4
1 changed files with 3 additions and 3 deletions
|
|
@ -15368,11 +15368,11 @@ function createSimilarArtistBubble(artist) {
|
||||||
bubble.appendChild(genres);
|
bubble.appendChild(genres);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Add click handler when functionality is ready
|
// Add click handler to navigate to artist detail page
|
||||||
// For now, just make it visually interactive
|
|
||||||
bubble.addEventListener('click', () => {
|
bubble.addEventListener('click', () => {
|
||||||
console.log(`🎵 Clicked similar artist: ${artist.name} (ID: ${artist.id})`);
|
console.log(`🎵 Clicked similar artist: ${artist.name} (ID: ${artist.id})`);
|
||||||
// Future: Navigate to this artist's detail page or trigger action
|
// Navigate to this artist's detail page (same as clicking from search results)
|
||||||
|
selectArtistForDetail(artist);
|
||||||
});
|
});
|
||||||
|
|
||||||
return bubble;
|
return bubble;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue