From 7131adfc42a3d009989638b5141c9af2db463e4e Mon Sep 17 00:00:00 2001 From: martbost Date: Thu, 8 Oct 2026 07:51:45 -0500 Subject: [PATCH] Games tab: Play opens the game in a new tab so the dashboard keeps its place (Marty 2026-10-08) Co-Authored-By: Claude Fable 5.1 --- public/assets/my.js | 2 +- public/my.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/assets/my.js b/public/assets/my.js index 035634f..b9e7cec 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -1704,7 +1704,7 @@ const list = (g && g.games) || []; if (!list.length) { el.innerHTML = '

No games are open yet. Check back soon.

'; return; } // a seasonal card (x.season, 2026-10-02) wears the pink limited-time ribbon from the Spooky Doors UI kit - el.innerHTML = list.map(x => '
' + (x.soon ? '' : x.season && x.season.ends ? 'Limited time \u00b7 ends ' + esc(x.season.ends) + '' : '') + '
' + esc(x.tag || '') + '

' + esc(x.name) + (x.preview ? '' + esc(x.previewNote || 'preview, not live') + '' : '') + '

' + esc(x.blurb) + '

' + (x.progress && x.progress.line ? '
' + esc(x.progress.line) + '
' : '') + '

Pays: ' + esc(x.pays || 'POL') + '

' + (x.perk ? '

Members get ' + esc(x.perk) + '

' : '') + (x.soon ? '' + esc(x.soon) + '' : '' + esc(x.cta || 'Play') + '') + '
').join(''); + el.innerHTML = list.map(x => '
' + (x.soon ? '' : x.season && x.season.ends ? 'Limited time \u00b7 ends ' + esc(x.season.ends) + '' : '') + '
' + esc(x.tag || '') + '

' + esc(x.name) + (x.preview ? '' + esc(x.previewNote || 'preview, not live') + '' : '') + '

' + esc(x.blurb) + '

' + (x.progress && x.progress.line ? '
' + esc(x.progress.line) + '
' : '') + '

Pays: ' + esc(x.pays || 'POL') + '

' + (x.perk ? '

Members get ' + esc(x.perk) + '

' : '') + (x.soon ? '' + esc(x.soon) + '' : '' + esc(x.cta || 'Play') + '') + '
').join(''); } async function loadReturnCard() { const card = $('phReturn'); if (!card) return; diff --git a/public/my.html b/public/my.html index 951996e..359823d 100644 --- a/public/my.html +++ b/public/my.html @@ -1149,7 +1149,7 @@ - +