File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ main .form .highlight {
6767}
6868
6969main .dark .form h3 ,
70- main .dark .form-text-field-wrapper p ,
71- main .dark .form-submit-message {
70+ main .dark .form . form -text-field-wrapper p ,
71+ main .dark .form . form -submit-message {
7272 color : var (--color-white );
7373}
7474
Original file line number Diff line number Diff line change @@ -115,11 +115,12 @@ async function createForm(formURL) {
115115 return form ;
116116}
117117
118- const init = async ( el ) => {
119- const anchor = el . querySelector ( 'p > a[href$=".json"]' ) ;
118+ const decorate = async ( block ) => {
119+ block . classList . add ( 'form' ) ;
120+ const anchor = block . querySelector ( 'p > a[href$=".json"]' ) ;
120121 if ( anchor ) {
121122 anchor . parentElement . replaceWith ( await createForm ( anchor . href ) ) ;
122123 }
123124} ;
124125
125- export default init ;
126+ export default decorate ;
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ const CONFIG = {
1818 imsClientId : '' ,
1919 locales : { '' : { ietf : 'en-US' , tk : 'hah7vzn.css' } } ,
2020 geoRouting : 'off' ,
21- productionDomain : 'aem-trials .adobe.com' ,
22- prodDomains : [ 'aem-trials .adobe.com' ] ,
21+ productionDomain : 'aem-trial .adobe.com' ,
22+ prodDomains : [ 'aem-trial .adobe.com' ] ,
2323 useDotHtml : true ,
2424} ;
2525
@@ -58,7 +58,6 @@ const miloLibs = setLibs(LIBS);
5858
5959( async function loadPage ( ) {
6060 const { loadArea, setConfig } = await import ( `${ miloLibs } /utils/utils.js` ) ;
61- const config = setConfig ( { ...CONFIG , miloLibs } ) ;
62- console . log ( config ) ;
61+ setConfig ( { ...CONFIG , miloLibs } ) ;
6362 await loadArea ( ) ;
6463} ( ) ) ;
You can’t perform that action at this time.
0 commit comments