From ec45bdfb2b04154d1dc5318440bdfa109d5e6127 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Tue, 28 Mar 2023 07:44:03 +0000 Subject: [PATCH] Hotfix --- src/components/Playlists.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Playlists.vue b/src/components/Playlists.vue index 6c6fc07..54b2c04 100644 --- a/src/components/Playlists.vue +++ b/src/components/Playlists.vue @@ -17,7 +17,7 @@ function isHandle(el) { return el.classList.contains('pl-handle') } -function handleClick(e) { +function handleClick(plurl, e) { if (!isHandle(e.target)) emit('playthis', plurl) } @@ -39,7 +39,7 @@ onMounted(() => { v-for="plurl in data.state.urls" class="pl-item" :key="plurl.url" - @click="handleClick"> + @click="handleClick(plurl, $event)">