aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-15 11:14:31 -0800
committerFuwn <[email protected]>2024-02-15 11:14:31 -0800
commit0ff96af1e3ea466f93335fb27f01c04251a97133 (patch)
tree67f563b726eb7672955d898b9609961c8176c852 /src
parentfeat(hololive): push pinned streamers to top (diff)
downloaddue.moe-0ff96af1e3ea466f93335fb27f01c04251a97133.tar.xz
due.moe-0ff96af1e3ea466f93335fb27f01c04251a97133.zip
fix(hololive): prevent default
Diffstat (limited to 'src')
-rw-r--r--src/routes/hololive/+page.svelte8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/routes/hololive/+page.svelte b/src/routes/hololive/+page.svelte
index dca0b14a..0fa87256 100644
--- a/src/routes/hololive/+page.svelte
+++ b/src/routes/hololive/+page.svelte
@@ -142,7 +142,13 @@
<div class="stream card">
{#if $identity.id !== -2}
<div class="pin-icon">
- <a href={'#'} on:click={() => pinStream(live.streamer)}>
+ <a
+ href={'#'}
+ on:click={(e) => {
+ e.preventDefault();
+ pinStream(live.streamer);
+ }}
+ >
<Icon
icon={`pajamas:thumbtack${
pinnedStreams.includes(live.streamer) ? '-solid' : ''