From 770c8067a790d2cc4a5113ddf8c69f0e82b25586 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Tue, 9 Jan 2024 22:54:33 +0800 Subject: [PATCH] feat: adjust tag link targe attribute When open the homepage, top bar links should open in a new tab; when not on the homepage, they should open in the same page --- src/components/TopBar/components/ChannelsPop.vue | 2 ++ src/components/TopBar/components/MorePop.vue | 4 ++-- .../TopBar/components/NotificationsPop.vue | 3 ++- src/components/TopBar/components/UserPanelPop.vue | 12 ++++++------ src/contentScripts/index.ts | 4 ++-- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/TopBar/components/ChannelsPop.vue b/src/components/TopBar/components/ChannelsPop.vue index cda6d649a4..8d4e05b6c8 100644 --- a/src/components/TopBar/components/ChannelsPop.vue +++ b/src/components/TopBar/components/ChannelsPop.vue @@ -1,5 +1,6 @@