fixed us url search not working
This commit is contained in:
parent
b18d4ea85c
commit
828ec65568
@ -680,7 +680,11 @@ const switchToSeason = async () => {
|
||||
|
||||
if (url.value && url.value.includes('crunchyroll') && url.value.includes('/series/') && !CRselectedShow.value) {
|
||||
const seriesID = url.value.split('/')
|
||||
if (seriesID.length === 7) {
|
||||
CRselectedShow.value = await getCRSeries(seriesID[5])
|
||||
} else {
|
||||
CRselectedShow.value = await getCRSeries(seriesID[4])
|
||||
}
|
||||
if (!CRselectedShow.value) {
|
||||
alert('Series not found')
|
||||
isFetchingSeasons.value--
|
||||
|
Reference in New Issue
Block a user