From 077fde70f15b94a7774825df9a52c08ab232b10f Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Fri, 14 Oct 2022 08:00:41 +0200 Subject: [PATCH] Fix CTRL+clicking on the channel name on the watch page (#2713) --- .../components/watch-video-info/watch-video-info.js | 4 ---- .../components/watch-video-info/watch-video-info.sass | 7 +++---- .../components/watch-video-info/watch-video-info.vue | 10 ++-------- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/src/renderer/components/watch-video-info/watch-video-info.js b/src/renderer/components/watch-video-info/watch-video-info.js index 4bb2d79eb..a07f466dc 100644 --- a/src/renderer/components/watch-video-info/watch-video-info.js +++ b/src/renderer/components/watch-video-info/watch-video-info.js @@ -331,10 +331,6 @@ export default Vue.extend({ }) }, - goToChannel: function () { - this.$router.push({ path: `/channel/${this.channelId}` }) - }, - toggleSave: function () { if (this.inFavoritesPlaylist) { this.removeFromPlaylist() diff --git a/src/renderer/components/watch-video-info/watch-video-info.sass b/src/renderer/components/watch-video-info/watch-video-info.sass index 4a24dea73..8b6ce0fa2 100644 --- a/src/renderer/components/watch-video-info/watch-video-info.sass +++ b/src/renderer/components/watch-video-info/watch-video-info.sass @@ -26,6 +26,9 @@ cursor: pointer position: relative top: -2px + display: block + color: inherit + text-decoration: inherit .subscribeButton margin-top: 6px @@ -86,7 +89,3 @@ :deep(.iconDropdown) left: calc(50% - 20px) right: auto - -.channelLink - color: inherit - text-decoration: inherit diff --git a/src/renderer/components/watch-video-info/watch-video-info.vue b/src/renderer/components/watch-video-info/watch-video-info.vue index ffd362e38..9c9337d2d 100644 --- a/src/renderer/components/watch-video-info/watch-video-info.vue +++ b/src/renderer/components/watch-video-info/watch-video-info.vue @@ -19,21 +19,15 @@
-
- {{ channelName }} -
+ {{ channelName }}