Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit 1098320

Browse files
committed
MAGETWO-69690: Add froogaloop library as a dependency to load-player module #9690
- Coding style improvements
1 parent 58b4c7c commit 1098320

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ define([
9797
optionsVideoData: '',
9898
vimeoJSFrameworkLoaded: false
9999
},
100+
101+
/**
102+
* @private
103+
*/
100104
onVimeoJSFramework: function () {},
101105
PV: 'product-video', // [CONST]
102106
VU: 'video-unplayed',
@@ -654,7 +658,8 @@ define([
654658
* @param {Event} event
655659
* @private
656660
*/
657-
_clickHandler: function (event) {if ($(event.target).hasClass(this.VU) && $(event.target).find('iframe').length === 0) {
661+
_clickHandler: function (event) {
662+
if ($(event.target).hasClass(this.VU) && $(event.target).find('iframe').length === 0) {
658663
$(event.target).removeClass(this.VU);
659664

660665
if (this.vimeoJSFrameworkLoaded) {

0 commit comments

Comments
 (0)