File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export async function render(locker) {
1818 const subscriber = locker . user . isSubscriber ( ) ;
1919 const market = locker . getConfig ( "marketInfo.domain" ) ;
2020 const taxonomy = locker . getConfig ( "marketInfo.taxonomy" ) ;
21+ const credit = locker . getConfig ( "articleCredit" ) ;
2122
2223 // Page elements
2324 const wps = document . querySelectorAll ( ".story-body [id^=zone-el]" ) ;
@@ -36,6 +37,16 @@ export async function render(locker) {
3637 const related = document . querySelectorAll ( ".related-stories" ) ;
3738 related . forEach ( ele => ele . parentElement . classList . remove ( "zone" , "grid" ) ) ;
3839
40+ /*
41+ * Money.com CTAs
42+ */
43+
44+ if ( locker . getConfig ( "zone.moneycom" ) && credit != "Paradise Media" ) {
45+ let money = new zones . Zone ( "zone-moneycom" ) ;
46+ money . zephr ( "zone-moneycom" , market ) ;
47+ money . after ( "zone-el-101" ) ;
48+ }
49+
3950 /*
4051 * Subscriber changes
4152 */
You can’t perform that action at this time.
0 commit comments