Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CTRL+clicking on the channel name on the watch page #2713

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/renderer/components/watch-video-info/watch-video-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,6 @@ export default Vue.extend({
})
},

goToChannel: function () {
this.$router.push({ path: `/channel/${this.channelId}` })
},

toggleSave: function () {
if (this.inFavoritesPlaylist) {
this.removeFromPlaylist()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
cursor: pointer
position: relative
top: -2px
display: block
color: inherit
text-decoration: inherit

.subscribeButton
margin-top: 6px
Expand Down Expand Up @@ -86,7 +89,3 @@
:deep(.iconDropdown)
left: calc(50% - 20px)
right: auto

.channelLink
color: inherit
text-decoration: inherit
10 changes: 2 additions & 8 deletions src/renderer/components/watch-video-info/watch-video-info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,15 @@
<img
:src="channelThumbnail"
class="channelThumbnail"
@click="goToChannel"
>
</router-link>
</div>
<div>
<router-link
:to="`/channel/${channelId}`"
class="channelLink"
class="channelName"
>
<div
class="channelName"
@click="goToChannel"
>
{{ channelName }}
</div>
{{ channelName }}
</router-link>
<ft-button
v-if="!hideUnsubscribeButton"
Expand Down