mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 21:47:25 +00:00
Add timestamp only if gt 0.
This commit is contained in:
parent
44c66c3336
commit
629303411c
@ -69,7 +69,7 @@ export default {
|
||||
var href = this.pipedLink
|
||||
? window.location.origin + "/watch?v=" + this.videoId
|
||||
: "https://youtu.be/" + this.videoId;
|
||||
if (this.withTimeCode && this.timeStamp) href += "?t=" + this.timeStamp;
|
||||
if (this.withTimeCode && this.timeStamp > 0) href += "?t=" + this.timeStamp;
|
||||
return href;
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user