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
(cherry picked from commit dace55907f
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
parent
744a641a07
commit
39a36208c0
1 changed files with 9 additions and 1 deletions
|
@ -1940,7 +1940,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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue