Skip to content

Commit 9c83782

Browse files
committed
Merge branch 'develop'
2 parents 5b920b0 + 293d7d7 commit 9c83782

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/story.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)