mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix incorrect comments
This commit is contained in:
parent
b51c59e583
commit
9751f3fc20
1 changed files with 6 additions and 6 deletions
|
@ -797,10 +797,10 @@ class ItemsView {
|
|||
// Only Photo (homevideos) CollectionFolders are supported
|
||||
&& !(itemType === 'CollectionFolder' && item?.CollectionType !== 'homevideos')
|
||||
) {
|
||||
// Hide Play All buttons
|
||||
// Show Play All buttons
|
||||
hideOrShowAll(view.querySelectorAll('.btnPlay'), false);
|
||||
} else {
|
||||
// Show Play All buttons
|
||||
// Hide Play All buttons
|
||||
hideOrShowAll(view.querySelectorAll('.btnPlay'), true);
|
||||
}
|
||||
|
||||
|
@ -810,18 +810,18 @@ class ItemsView {
|
|||
// Only Photo (homevideos) CollectionFolders are supported
|
||||
&& !(itemType === 'CollectionFolder' && item?.CollectionType !== 'homevideos')
|
||||
) {
|
||||
// Hide Shuffle buttons
|
||||
// Show Shuffle buttons
|
||||
hideOrShowAll(view.querySelectorAll('.btnShuffle'), false);
|
||||
} else {
|
||||
// Show Shuffle buttons
|
||||
// Hide Shuffle buttons
|
||||
hideOrShowAll(view.querySelectorAll('.btnShuffle'), true);
|
||||
}
|
||||
|
||||
if (item && playbackManager.canQueue(item)) {
|
||||
// Hide Queue button
|
||||
// Show Queue button
|
||||
hideOrShowAll(view.querySelectorAll('.btnQueue'), false);
|
||||
} else {
|
||||
// Show Queue button
|
||||
// Hide Queue button
|
||||
hideOrShowAll(view.querySelectorAll('.btnQueue'), true);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue