Missed this bit

This commit is contained in:
Brahim Hadriche committed 2023-06-25 16:33:05 -04:00
1 parent ad753deac7
commit 9cd664fdd7
1 file changed
+5 -1
+5 -1
View File
@@ -169,7 +169,11 @@
} }
function openInvidiousInNewTab() { function openInvidiousInNewTab() {
window.open(`${invidiousInstance}/watch?v=${videoId}`); let url = `${invidiousInstance}/watch?v=${videoId}`;
if (videoStartAtChecked && videoStartAtTimestamp) {
url += `&t=${videoStartAtTimestamp}`;
}
window.open(url);
} }
</script> </script>