mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix quirks on details
This commit is contained in:
parent
968431b3ab
commit
2846174b86
5 changed files with 87 additions and 78 deletions
|
@ -468,7 +468,7 @@
|
|||
});
|
||||
}
|
||||
var itemGenres = page.querySelectorAll('.itemGenres');
|
||||
for (i = 0, length = itemMiscInfo.length; i < length; i++) {
|
||||
for (i = 0, length = itemGenres.length; i < length; i++) {
|
||||
LibraryBrowser.renderGenres(itemGenres[i], item, null, isStatic);
|
||||
}
|
||||
|
||||
|
@ -712,6 +712,10 @@
|
|||
|
||||
var similarCollapsible = page.querySelector('#similarCollapsible');
|
||||
|
||||
if (!similarCollapsible) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (item.Type == "Movie" || item.Type == "Trailer" || item.Type == "Series" || item.Type == "Program" || item.Type == "Recording" || item.Type == "Game" || item.Type == "MusicAlbum" || item.Type == "MusicArtist" || item.Type == "ChannelVideoItem") {
|
||||
similarCollapsible.classList.remove('hide');
|
||||
}
|
||||
|
@ -2111,7 +2115,9 @@
|
|||
|
||||
Dashboard.getCurrentUser().then(function (user) {
|
||||
|
||||
LibraryBrowser.showMoreCommands(button, currentItem.Id, currentItem.Type, LibraryBrowser.getMoreCommands(currentItem, user));
|
||||
LibraryBrowser.showMoreCommands(button, currentItem.Id, currentItem.Type, LibraryBrowser.getMoreCommands(currentItem, user)).then(function() {
|
||||
reload(view, params);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue