File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/PageBuilder/view
adminhtml/web/ts/js/content-type/banner Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ export default class Preview extends BasePreview {
117
117
} ,
118
118
) ;
119
119
// @ts -ignore
120
- this . wrapper . jarallax . video . on ( "started" , ( ) => {
120
+ this . wrapper . jarallax . video && this . wrapper . jarallax . video . on ( "started" , ( ) => {
121
121
// @ts -ignore
122
122
if ( this . wrapper . jarallax . $video ) {
123
123
// @ts -ignore
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ define([
29
29
videoLazyLoading : $element . data ( 'videoLazyLoad' ) ,
30
30
disableVideo : false
31
31
} ) ;
32
- $element [ 0 ] . jarallax . video . on ( 'started' , function ( ) {
32
+ $element [ 0 ] . jarallax . video && $element [ 0 ] . jarallax . video . on ( 'started' , function ( ) {
33
33
if ( $element [ 0 ] . jarallax . $video ) {
34
34
$element [ 0 ] . jarallax . $video . style . visibility = 'visible' ;
35
35
}
You can’t perform that action at this time.
0 commit comments