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

Merge pull request #3535 from dmitrylyzo/fix-poster-resume

Fix 'resume' when clicking on item details poster
This commit is contained in:
Bill Thornton 2022-04-12 16:08:42 -04:00 committed by GitHub
commit dace55907f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1926,7 +1926,15 @@ export default function (view, params) {
}
function onPlayClick() {
playCurrentItem(this, this.getAttribute('data-action'));
let actionElem = this;
let action = actionElem.getAttribute('data-action');
if (!action) {
actionElem = actionElem.querySelector('[data-action]') || actionElem;
action = actionElem.getAttribute('data-action');
}
playCurrentItem(actionElem, action);
}
function onInstantMixClick() {