File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
app/code/Magento/PageBuilder/view/base/web/js/content-type/banner/appearance/default
dev/tests/static/testsuite/Magento/Test/Integrity/Xml Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ define([
9
9
'use strict' ;
10
10
11
11
return function ( config , element ) {
12
+ var videoElement = element [ 0 ] . querySelector ( '[data-background-type=video]' ) ;
13
+
12
14
showOnHover ( config ) ;
13
15
14
- var videoElement = element [ 0 ] . querySelector ( '[data-background-type=video]' ) ;
15
16
if ( videoElement ) {
16
17
videoBackground ( config , videoElement ) ;
17
18
}
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ private function getXmlFiles(): array
63
63
$ overrideFiles = [
64
64
'pagebuilder_base_form.xml ' => '' ,
65
65
'pagebuilder_map_location_form.xml ' => '' ,
66
- 'pagebuilder_banner_form.xml ' => 'pagebuilder_base_form_with_background_attributes ' ,
66
+ 'pagebuilder_banner_form.xml ' => 'pagebuilder_base_form_with_background_video ' ,
67
67
'pagebuilder_column_form.xml ' => 'pagebuilder_base_form_with_background_attributes ' ,
68
68
'pagebuilder_slide_form.xml ' => 'pagebuilder_base_form_with_background_attributes ' ,
69
69
'pagebuilder_tab_item_form.xml ' => 'pagebuilder_base_form_with_background_attributes ' ,
You can’t perform that action at this time.
0 commit comments