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

Merge pull request #3900 from is343/fix/second-actionsheet-failures

Fix failures to open secondary action sheet in html video player
This commit is contained in:
Bill Thornton 2022-09-16 13:53:18 -04:00 committed by GitHub
commit 1dbdb4a2e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -301,7 +301,7 @@ export function show(options) {
resolve(selectedId);
} else {
reject();
reject('ActionSheet closed without resolving');
}
}
});

View file

@ -238,6 +238,7 @@ function showWithUser(options, player, user) {
return actionsheet.show({
items: menuItems,
resolveOnClick: true,
positionTo: options.positionTo
}).then(function (id) {
return handleSelectedOption(id, options, player);