From 57dd92dc56115727a324aba91fec2e7be34c4180 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Sat, 21 May 2022 09:53:02 +0200 Subject: [PATCH] fix click not workign --- src/components/chapter.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/chapter.svelte b/src/components/chapter.svelte index 4519209..bb24351 100644 --- a/src/components/chapter.svelte +++ b/src/components/chapter.svelte @@ -21,12 +21,12 @@ */ function mouseenter(e) { if(e.buttons & 1) { - dispatch("select"); + dispatch("select", e); } } - + {chapter.attributes.volume ? "Vol " + chapter.attributes.volume : ""} {chapter.attributes.chapter ? "Chapter " + chapter.attributes.chapter : ""}