From 8239d1da5d00641e863b946937e481eca9e8e45e Mon Sep 17 00:00:00 2001 From: bonjinnorenka <32708102+bonjinnorenka@users.noreply.github.com> Date: Wed, 30 Aug 2023 00:27:32 +0900 Subject: [PATCH] improve error process Co-authored-by: AHOHNMYC <24810600+AHOHNMYC@users.noreply.github.com> --- assets/js/invidious_iframe_api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/invidious_iframe_api.js b/assets/js/invidious_iframe_api.js index 8d035c9f..e85a2a53 100644 --- a/assets/js/invidious_iframe_api.js +++ b/assets/js/invidious_iframe_api.js @@ -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);