fix: fetch romaji index in loadArtistDetail before dispArtistById
This commit is contained in:
1 parent
c8ccb80f2f
commit
27acede41d
1 file changed
+1
@@ -356,6 +356,7 @@ function _makeTopsongRow(s, num, subtitle, list, idx) {
|
|||||||
|
|
||||||
// ─── ARTIST DETAIL ───
|
// ─── ARTIST DETAIL ───
|
||||||
export async function loadArtistDetail(artist) {
|
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-detail-name').textContent = dispArtistById(artist.id, artist.name);
|
||||||
document.getElementById('artist-back-btn').onclick = () => _navGoBack();
|
document.getElementById('artist-back-btn').onclick = () => _navGoBack();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user