mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Add timestamp only if gt 0.
This commit is contained in:
parent
44c66c3336
commit
629303411c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue