Skip to content

Commit

Permalink
feat: open original anime on long press
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Aug 20, 2024
1 parent a50b785 commit 1d05a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/components/cards/EpisodeCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
const progress = liveAnimeEpisodeProgress(media?.id, data?.episode)
</script>
<div class='d-flex p-20 pb-10 position-relative episode-card' use:hoverClick={[data.onclick || viewMedia, setHoverState]}>
<div class='d-flex p-20 pb-10 position-relative episode-card' use:hoverClick={[data.onclick || viewMedia, setHoverState]} on:contextmenu|preventDefault={viewMedia} role='none'>
{#if preview}
<EpisodePreviewCard {data} />
{/if}
Expand Down

0 comments on commit 1d05a71

Please sign in to comment.