improve error process

Co-authored-by: AHOHNMYC <24810600+AHOHNMYC@users.noreply.github.com>
This commit is contained in:
bonjinnorenka 2023-08-30 00:27:32 +09:00 committed by GitHub
parent 26f9e8bf0d
commit 8239d1da5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ class invidious_embed{
else{
this.error_code = 2;
this.event_executor('error');
return;
}
var search_params = new URLSearchParams('');
search_params.append('widgetid',invidious_embed.widgetid);