Skip to content

Commit fb12f6e

Browse files
committed
ACP2E-2296: [Cloud]Product pages Vimeo videos not working for mobile devices
1 parent bc1c7ba commit fb12f6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/web/fotorama/fotorama.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,9 @@ fotoramaVersion = '4.6.4';
12191219
}
12201220

12211221
function stopEvent(e, stopPropagation) {
1222-
e.preventDefault ? e.preventDefault() : (e.returnValue = false);
1222+
if (!Modernizr.touch) {
1223+
e.preventDefault ? e.preventDefault() : (e.returnValue = false);
1224+
}
12231225
stopPropagation && e.stopPropagation && e.stopPropagation();
12241226
}
12251227

0 commit comments

Comments
 (0)