diff options
| author | Adam Soltys <[email protected]> | 2026-10-09 00:24:25 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-09 00:24:25 -0700 |
| commit | b6819d91422adc10ea71ea5174c8e3e2badd1340 (patch) | |
| tree | 1667f5f3a36a2e661f9dbbc9178f716a0c234080 /src/features | |
| parent | 02a6468807c6f4f34f56b2bafb091c1b6ff25f0e (diff) | |
| download | coinosv3-b6819d91422adc10ea71ea5174c8e3e2badd1340.tar.gz coinosv3-b6819d91422adc10ea71ea5174c8e3e2badd1340.zip | |
Footer: "Show your support" beside How it works opens the hat shop from any page (shown once a wallet is open, since the shop pays from it)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/features')
| -rw-r--r-- | src/features/hats.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/features/hats.js b/src/features/hats.js index 16849f2..a14fc2b 100644 --- a/src/features/hats.js +++ b/src/features/hats.js @@ -438,6 +438,8 @@ export function hatsFeature(ctx) { node, h('span', { class: 'ava-hat', style: posStyle(hat), html: hat.art })); }, + // The footer's "Show your support" link: straight into the shop. + openHatShop() { openShop(); try { window.scrollTo(0, 0); } catch {} return true; }, // Own-profile editor entry: the door to the shop. hatShopEntry() { return h('button', { |
