- Search continuations (related to #46)
- Search for Playlists (related to #46)
This commit is contained in:
Shiny Nematoda 2022-10-17 17:12:38 +00:00
parent 7905394b26
commit 2ff1308278
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
6 changed files with 104 additions and 38 deletions

View file

@ -24,9 +24,11 @@ export async function getJson(url) {
if (res && res.error) {
alert(
res.message
.replaceAll('Video', 'Audio')
.replaceAll('video', 'audio')
.replaceAll('watched', 'heard'),
? res.message
.replaceAll('Video', 'Audio')
.replaceAll('video', 'audio')
.replaceAll('watched', 'heard')
: res.error,
);
console.error(res.message);
} else if (res) {