mirror of
https://github.com/gabehf/EatMyYTShorts.git
synced 2026-03-07 13:38:17 -08:00
fixed bug
This commit is contained in:
parent
6cfc234138
commit
bec5b37164
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ function initContentScript() {
|
|||
if (url[1] == 'shorts' ) { // if the video is a short
|
||||
console.log('EatMyYTShorts: Fixing video...')
|
||||
vidID = url[2] //the unique video id
|
||||
location.assign(`https://youtube.com/watch?v=${vidID}`)
|
||||
location.replace(`https://youtube.com/watch?v=${vidID}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue