mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Cleanup
This commit is contained in:
parent
29faa698b7
commit
f87474fedd
1 changed files with 0 additions and 6 deletions
|
@ -634,12 +634,6 @@ function reloadFromItem(instance, page, params, item, user) {
|
|||
setInitialCollapsibleState(page, item, apiClient, params.context, user);
|
||||
const canPlay = reloadPlayButtons(page, item);
|
||||
|
||||
if ((item.LocalTrailerCount || item.RemoteTrailers && item.RemoteTrailers.length) && playbackManager.getSupportedCommands().indexOf('PlayTrailers') !== -1) {
|
||||
hideAll(page, 'btnPlayTrailer', true);
|
||||
} else {
|
||||
hideAll(page, 'btnPlayTrailer');
|
||||
}
|
||||
|
||||
setTrailerButtonVisibility(page, item);
|
||||
|
||||
if (item.Type !== 'Program' || canPlay) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue