mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix fake image zoom
This commit is contained in:
parent
bca4a07e01
commit
ac0fdd8059
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ export default function (options) {
|
||||||
/**
|
/**
|
||||||
* Handles zoom changes.
|
* Handles zoom changes.
|
||||||
*/
|
*/
|
||||||
function onZoomChange(scale, imageEl, slideEl) {
|
function onZoomChange(swiper, scale, imageEl, slideEl) {
|
||||||
const zoomImage = slideEl.querySelector('.swiper-zoom-fakeimg');
|
const zoomImage = slideEl.querySelector('.swiper-zoom-fakeimg');
|
||||||
|
|
||||||
if (zoomImage) {
|
if (zoomImage) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue