diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index a6382d635b..9489d75a14 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -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() {