Skip to content

Commit

Permalink
Update WatchVideo.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
ac615223s5 committed Aug 28, 2024
1 parent d51c0db commit 8547119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/WatchVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export default {
return purifyHTML(this.video.description);
},
equivalentYoutubeLink() {
return `https://youtu.be/${this.getVideoId()}?t=${Math.round(this.currentTime)}${(this.playlistId && `&list=${this.playlistId}`) || ""}`;
return `https://youtu.be/${this.getVideoId()}?t=${Math.round(this.currentTime)}${this.playlistId ? `&list=${this.playlistId}` : ""}`;
},
},
mounted() {
Expand Down

0 comments on commit 8547119

Please sign in to comment.