1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Reverting itemContextMenu changes to support folder/playlist ordering with the "Play" action

Code cleanup
This commit is contained in:
MrK 2023-09-23 22:50:57 +01:00
parent c935ba9a20
commit 5d20523616
3 changed files with 35 additions and 2 deletions

View file

@ -206,6 +206,7 @@ function executeAction(card, target, action) {
} else if (action === 'play' || action === 'resume') {
const startPositionTicks = parseInt(card.getAttribute('data-positionticks') || '0', 10);
const sortValues = userSettings.getSortValuesLegacy(sortParentId, 'SortName');
if (playbackManager.canPlay(item)) {
playbackManager.play({
ids: [playableItemId],