Skip to content

Commit d09dd80

Browse files
committed
Merge branch 'fix-for-issue-36456' of https://github.com/rostilos/magento2 into fix-for-issue-36456
2 parents c766d6c + ff8b9b1 commit d09dd80

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)