enhanced list modal and fixes
This commit is contained in:
@@ -63,7 +63,7 @@ async function loadAnime() {
|
||||
}
|
||||
|
||||
animeData = data;
|
||||
|
||||
animeData.entry_type = 'ANIME';
|
||||
const metadata = MediaMetadataUtils.formatAnimeData(data, !!extensionName);
|
||||
|
||||
updatePageTitle(metadata.title);
|
||||
|
||||
@@ -92,6 +92,7 @@ function startHeroCycle() {
|
||||
|
||||
async function updateHeroUI(anime) {
|
||||
if(!anime) return;
|
||||
anime.entry_type = 'ANIME';
|
||||
|
||||
const title = anime.title.english || anime.title.romaji || "Unknown Title";
|
||||
const score = anime.averageScore ? anime.averageScore + '% Match' : 'N/A';
|
||||
|
||||
Reference in New Issue
Block a user