mirror of
https://gitea.invidious.io/iv-org/invidious-redirect.git
synced 2024-08-15 00:53:24 +00:00
Fix for incorrect youtube redirect (#22)
This commit is contained in:
parent
7eed9d5a1f
commit
51ba8abca7
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
|
||||
const destinationPath = window.location.href.slice(window.location.origin.length)
|
||||
|
||||
q("#watch-on-youtube").href = "https://www.youtube.com" + destinationPath
|
||||
q("#watch-on-youtube").href = "https://www.youtube.com/watch?v=" + destinationPath
|
||||
|
||||
for (const e of qa("[data-loading-message]")) {
|
||||
e.textContent = e.getAttribute("data-loading-message")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue