Friday Bonus Hunts card: say plainly when an unopened inbox ad is what blocks today

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-29 08:50:12 -05:00
parent 37a78de339
commit 58dc3864cd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -3075,6 +3075,7 @@ async function loadFridayBank() {
let msg = '';
if (b.isFriday) msg = b.banked ? '<b>It\'s Friday.</b> Your ' + b.banked + ' banked hunt' + (b.banked === 1 ? '' : 's') + ' are live on <a href="/api/my/polhunter">PolHunter</a> today.' : 'It\'s Friday. Bank hunts Saturday through Thursday for next Friday.';
else if (t && t.banked) msg = '&#10003; <b>Today is banked.</b> Come back tomorrow to bank another.';
else if (t && t.video && t.soloNeeded && !t.solo) msg = '&#10003; Video watched. <b>Not banked yet:</b> an inbox ad is waiting for you today, and a day only counts once it is opened. <a href="#" data-earn-go="inbox">Open the inbox ad</a> and today is banked. (On days when nothing is waiting in your inbox, the video alone counts, which is why some days banked without one.)';
else if (t) msg = 'To bank today: ' + (t.video ? '&#10003; video watched' : '<a href="#" data-earn-go="videos">watch one video</a>') + (t.soloNeeded ? ' and ' + (t.solo ? '&#10003; inbox ad opened' : '<a href="#" data-earn-go="inbox">open one inbox ad</a>') : ' (no inbox ad waiting, so the video alone counts)') + '.';
const el = document.getElementById('fbankToday'); el.innerHTML = msg;
el.querySelectorAll('[data-earn-go]').forEach(a => a.addEventListener('click', ev => { ev.preventDefault(); const tab = document.querySelector('[data-earn="' + a.dataset.earnGo + '"]'); if (tab) tab.click(); }));
+1 -1
View File
@@ -1084,7 +1084,7 @@
<script src="/assets/common.js?v=20260923b"></script><script src="/assets/welcome.js?v=20260923b"></script>
<script src="/assets/wallet.js?v=20260911a"></script>
<script src="/assets/promo.js?v=20260929c"></script>
<script src="/assets/my.js?v=20260929e"></script>
<script src="/assets/my.js?v=20260929f"></script>
<script src="/assets/chat.js?v=20260907l"></script>
</body>
</html>