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);