mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix swipebox
This commit is contained in:
parent
9d64691fc1
commit
f85a900730
6 changed files with 89 additions and 74 deletions
|
@ -823,6 +823,10 @@
|
|||
}
|
||||
else if (action == 'photoslideshow') {
|
||||
|
||||
if (!$(elem).hasClass('card')) {
|
||||
elem = $(elem).parents('.card')[0];
|
||||
}
|
||||
|
||||
itemsContainer = $(elem).parents('.itemsContainer');
|
||||
index = $('.card', itemsContainer).get().indexOf(elem);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue