diff --git a/webui/static/script.js b/webui/static/script.js
index 33294adb..873bcb8c 100644
--- a/webui/static/script.js
+++ b/webui/static/script.js
@@ -36067,11 +36067,11 @@ function updateArtistDetailHeader(artist) {
const badgesEl = document.getElementById('artists-hero-badges');
if (badgesEl) {
const _hb = (logo, fallback, title, url) => {
- const attr = url ? `data-url="${_esc(url)}" onclick="window.open(this.dataset.url,'_blank')"` : '';
const inner = logo
? `
`
: `${fallback}`;
- return `
${inner}
`;
+ if (url) return `${inner}`;
+ return `${inner}
`;
};
const badges = [];
if (info.spotify_artist_id) badges.push(_hb(SPOTIFY_LOGO_URL, 'SP', 'Spotify', `https://open.spotify.com/artist/${info.spotify_artist_id}`));
@@ -42906,11 +42906,11 @@ function updateArtistDetailPageHeaderWithData(artist) {
const badgesContainer = document.getElementById("artist-hero-badges");
if (badgesContainer) {
const _hb = (logo, fallback, title, url) => {
- const attr = url ? `data-url="${url}" onclick="window.open(this.dataset.url,'_blank')"` : '';
const inner = logo
? `
`
: `${fallback}`;
- return `${inner}
`;
+ if (url) return `${inner}`;
+ return `${inner}
`;
};
const adbSlug = artist.name ? artist.name.replace(/\s+/g, '-').replace(/[^a-zA-Z0-9-]/g, '') : '';
@@ -44595,12 +44595,6 @@ function renderArtistMetaPanel(artist) {
idBadges.appendChild(makeClickableBadge(src.svc, 'artist', artist[src.key], src.label));
}
});
- if (artist.server_source) {
- const srcBadge = document.createElement('span');
- srcBadge.className = 'enhanced-id-badge server';
- srcBadge.textContent = artist.server_source;
- idBadges.appendChild(srcBadge);
- }
headerInfo.appendChild(idBadges);
headerLeft.appendChild(headerInfo);
header.appendChild(headerLeft);
diff --git a/webui/static/style.css b/webui/static/style.css
index 242457a1..72921e60 100644
--- a/webui/static/style.css
+++ b/webui/static/style.css
@@ -23211,19 +23211,21 @@ body.helper-mode-active #dashboard-activity-feed:hover {
.artist-hero-badge[title="Qobuz"] img {
filter: invert(1);
}
-.artist-hero-badge[data-url] {
+a.artist-hero-badge {
cursor: pointer;
+ text-decoration: none;
+ color: inherit;
}
-.artist-hero-badge[data-url]:hover {
+a.artist-hero-badge:hover {
background: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
-.artist-hero-badge[data-url]:hover img {
+a.artist-hero-badge:hover img {
opacity: 1;
}
-.artist-hero-badge:not([data-url]) {
+div.artist-hero-badge {
cursor: default;
}