fix: fetch romaji index in loadArtistDetail before dispArtistById

This commit is contained in:
Honey committed 2026-05-27 14:02:42 +02:00
1 parent c8ccb80f2f
commit 27acede41d
1 file changed
+1
+1
View File
@@ -356,6 +356,7 @@ function _makeTopsongRow(s, num, subtitle, list, idx) {
// ─── ARTIST DETAIL ───
export async function loadArtistDetail(artist) {
if (S.cfg.showRomaji) await fetchRomajiIndex().catch(() => {});
document.getElementById('artist-detail-name').textContent = dispArtistById(artist.id, artist.name);
document.getElementById('artist-back-btn').onclick = () => _navGoBack();