Skip to content

Commit 21a700f

Browse files
committed
fixes for issue [Trigger should be called on the Jquery object, not on the DOM object]
1 parent c1226bd commit 21a700f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)