mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +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
|
var href = this.pipedLink
|
||||||
? window.location.origin + "/watch?v=" + this.videoId
|
? window.location.origin + "/watch?v=" + this.videoId
|
||||||
: "https://youtu.be/" + 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;
|
return href;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user