From 9a0d9cd31d9e49b22b3062d538d22031fa6a0071 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 27 Oct 2024 19:43:50 +0800 Subject: [PATCH] fix(history, watch-later): delete button will toggle drawer open (#1090) --- src/contentScripts/views/History/History.vue | 2 +- src/contentScripts/views/WatchLater/WatchLater.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contentScripts/views/History/History.vue b/src/contentScripts/views/History/History.vue index 870785ec..3ba0a027 100644 --- a/src/contentScripts/views/History/History.vue +++ b/src/contentScripts/views/History/History.vue @@ -457,7 +457,7 @@ function jumpToLoginPage() { opacity-0 group-hover:opacity-100 p-2 duration-300 - @click.prevent="deleteHistoryItem(index, historyItem)" + @click.prevent.stop="deleteHistoryItem(index, historyItem)" >
diff --git a/src/contentScripts/views/WatchLater/WatchLater.vue b/src/contentScripts/views/WatchLater/WatchLater.vue index e9b7c0d6..ae5770af 100644 --- a/src/contentScripts/views/WatchLater/WatchLater.vue +++ b/src/contentScripts/views/WatchLater/WatchLater.vue @@ -278,7 +278,7 @@ function jumpToLoginPage() { opacity-0 group-hover:opacity-100 p-2 duration-300 - @click.prevent="deleteWatchLaterItem(index, item.aid)" + @click.prevent.stop="deleteWatchLaterItem(index, item.aid)" >