diff --git a/public/assets/my.js b/public/assets/my.js index 20e94a1..e3989aa 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -197,6 +197,8 @@ // numbers only move when a campaign is created, topped up or paused const purchased = d.credits || 0, earned = d.earnedCredits != null ? d.earnedCredits : (st.earnedAvailable != null ? st.earnedAvailable : (st.earned || 0)), inC = d.inCampaigns || 0; $('dbCredits').textContent = (purchased + earned).toLocaleString(); + // the Wallet tab card showed on-chain credits only, so promo/earned credits looked like 0 there (Jim, 2026-09-13) + if ($('creditLine')) $('creditLine').innerHTML = (purchased + earned).toLocaleString() + ' ' + purchased.toLocaleString() + ' purchased · ' + earned.toLocaleString() + ' earned'; $('dbCreditsSub').textContent = purchased.toLocaleString() + ' purchased' + (d.creditedCredits ? ' (' + d.creditedCredits.toLocaleString() + ' credited to you)' : '') + ' · ' + earned.toLocaleString() + ' earned' + (inC ? ' · ' + inC.toLocaleString() + ' in campaigns' : ''); donut($('chDonut'), [{ v: purchased, color: CH.mint }, { v: earned, color: CH.cyan }, { v: inC, color: CH.amber }], diff --git a/public/my.html b/public/my.html index 7dc17d0..4a5bf6f 100644 --- a/public/my.html +++ b/public/my.html @@ -867,7 +867,7 @@

Ad credits

0

-

1 credit = 1 cent of ad delivery across the network. Recorded on-chain. Only your campaigns can spend them.

+

1 credit = 1 cent of ad delivery across the network. Purchased credits are recorded on-chain; earned credits (viewing, promo codes, welcome bonus) live on your account. Only your campaigns can spend them.