File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ use Magento\Framework\View\Helper\SecureHtmlRenderer;
1010
1111$ viewModel = $ block ->getData ('view_model ' )
1212?>
13- <?= /* @noEscape */
14- $ viewModel ->getScript () ?>
13+ <?= /* @noEscape */ $ viewModel ->getScript () ?>
1514<?php
1615
1716if ($ viewModel ->isGoogleConsentModeEnabled ()) {
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ define([
1212 if ( ! Cookiebot ?. consent ?. marketing && blockVideoConsentConfig ) {
1313 const videoElement = event . target . querySelector ( '.product-video' ) ;
1414 if ( ! Cookiebot ?. consent ?. marketing ) {
15- // Add placeholder before each video element
16- // videoElements.forEach(function(videoElement) {
1715 if ( Cookiebot ?. consent ?. marketing ) {
1816 return ;
1917 }
@@ -47,8 +45,6 @@ define([
4745 paragraphElement . style . zIndex = "1000" ;
4846 paragraphElement . style . position = "relative" ;
4947 videoElement . parentNode . insertBefore ( divElement , videoElement ) ;
50- // });
51-
5248 return ;
5349 } else {
5450
You can’t perform that action at this time.
0 commit comments