aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/hats.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/hats.js')
-rw-r--r--src/features/hats.js2
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', {