From cfbe8959d09b12accaccb678b8c861051d95e7e5 Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Sun, 24 Nov 2024 09:21:34 +0100 Subject: [PATCH] fix case sensitive property (#1167) --- web/components/panel_html.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +`;