aboutsummaryrefslogtreecommitdiff
path: root/src/components/card_thumb.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/card_thumb.svelte')
-rw-r--r--src/components/card_thumb.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/card_thumb.svelte b/src/components/card_thumb.svelte
index 2b93c6e..39a996f 100644
--- a/src/components/card_thumb.svelte
+++ b/src/components/card_thumb.svelte
@@ -1,11 +1,12 @@
<script lang="js">
import { setLeftPanelCard, showMobileInfo } from '../left_panel';
import { cardImageUrl } from '../utils';
+ import { currentTranslations } from '../language';
let {id, area, idx, limitNum} = $props();
function onhover() {
- setLeftPanelCard(id);
+ setLeftPanelCard(id, $currentTranslations.key);
}
function onDragStart(e) {