Fix CTRL+clicking on the channel name on the watch page (#2713)
This commit is contained in:
parent
ad01d2b37d
commit
077fde70f1
|
@ -331,10 +331,6 @@ export default Vue.extend({
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
goToChannel: function () {
|
|
||||||
this.$router.push({ path: `/channel/${this.channelId}` })
|
|
||||||
},
|
|
||||||
|
|
||||||
toggleSave: function () {
|
toggleSave: function () {
|
||||||
if (this.inFavoritesPlaylist) {
|
if (this.inFavoritesPlaylist) {
|
||||||
this.removeFromPlaylist()
|
this.removeFromPlaylist()
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
position: relative
|
position: relative
|
||||||
top: -2px
|
top: -2px
|
||||||
|
display: block
|
||||||
|
color: inherit
|
||||||
|
text-decoration: inherit
|
||||||
|
|
||||||
.subscribeButton
|
.subscribeButton
|
||||||
margin-top: 6px
|
margin-top: 6px
|
||||||
|
@ -86,7 +89,3 @@
|
||||||
:deep(.iconDropdown)
|
:deep(.iconDropdown)
|
||||||
left: calc(50% - 20px)
|
left: calc(50% - 20px)
|
||||||
right: auto
|
right: auto
|
||||||
|
|
||||||
.channelLink
|
|
||||||
color: inherit
|
|
||||||
text-decoration: inherit
|
|
||||||
|
|
|
@ -19,21 +19,15 @@
|
||||||
<img
|
<img
|
||||||
:src="channelThumbnail"
|
:src="channelThumbnail"
|
||||||
class="channelThumbnail"
|
class="channelThumbnail"
|
||||||
@click="goToChannel"
|
|
||||||
>
|
>
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<router-link
|
<router-link
|
||||||
:to="`/channel/${channelId}`"
|
:to="`/channel/${channelId}`"
|
||||||
class="channelLink"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="channelName"
|
class="channelName"
|
||||||
@click="goToChannel"
|
|
||||||
>
|
>
|
||||||
{{ channelName }}
|
{{ channelName }}
|
||||||
</div>
|
|
||||||
</router-link>
|
</router-link>
|
||||||
<ft-button
|
<ft-button
|
||||||
v-if="!hideUnsubscribeButton"
|
v-if="!hideUnsubscribeButton"
|
||||||
|
|
Loading…
Reference in New Issue