mirror of
https://github.com/iv-org/invidious.git
synced 2025-01-10 11:30:34 +05:30
improve error process
Co-authored-by: AHOHNMYC <24810600+AHOHNMYC@users.noreply.github.com>
This commit is contained in:
parent
26f9e8bf0d
commit
8239d1da5d
@ -54,6 +54,7 @@ class invidious_embed{
|
|||||||
else{
|
else{
|
||||||
this.error_code = 2;
|
this.error_code = 2;
|
||||||
this.event_executor('error');
|
this.event_executor('error');
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
var search_params = new URLSearchParams('');
|
var search_params = new URLSearchParams('');
|
||||||
search_params.append('widgetid',invidious_embed.widgetid);
|
search_params.append('widgetid',invidious_embed.widgetid);
|
||||||
|
Loading…
Reference in New Issue
Block a user