Skip to content

Commit 307f3ac

Browse files
committed
AC-8441: Cannot slide images in product page in mobile in 2.4.6 only!
1 parent cee8d63 commit 307f3ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/ProductVideo/view/frontend/web/js/fotorama-add-video-events.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ define([
558558
}
559559

560560
if (this.isFullscreen && this.fotoramaItem.data('fotorama').activeFrame.i === number) {
561-
this.fotoramaItem.data('fotorama').activeFrame.$stageFrame[0].trigger('click');
561+
this.fotoramaItem.data('fotorama').activeFrame.$stageFrame.trigger('click');
562562
}
563563
},
564564

@@ -700,7 +700,7 @@ define([
700700
if (activeIndexIsBase && number === 1 && $(window).width() > this.MobileMaxWidth) {
701701
setTimeout($.proxy(function () {
702702
fotorama.requestFullScreen();
703-
this.fotoramaItem.data('fotorama').activeFrame.$stageFrame[0].trigger('click');
703+
this.fotoramaItem.data('fotorama').activeFrame.$stageFrame.trigger('click');
704704
this.Base = false;
705705
}, this), 50);
706706
}

0 commit comments

Comments
 (0)