diff --git a/web/components/panel_html.ts b/web/components/panel_html.ts index 975153f5..108268fc 100644 --- a/web/components/panel_html.ts +++ b/web/components/panel_html.ts @@ -95,7 +95,7 @@ function loadJsByUrl(url,integrity=null) { script.src = url; if(integrity){ script.integrity=integrity; - script.crossorigin="anonymous"; + script.crossOrigin="anonymous"; //for some weird reason this attribute is case sensitive when used in JS } @@ -109,4 +109,4 @@ function loadJsByUrl(url,integrity=null) { -`; \ No newline at end of file +`;