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 4bb2d79e..a07f466d 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 4a24dea7..8b6ce0fa 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 ffd362e3..9c9337d2 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 @@