fix case sensitive property (#1167)

pull/1168/head
Michael Kolb 2024-11-24 09:21:34 +01:00 committed by GitHub
parent 8114b25470
commit cfbe8959d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ function loadJsByUrl(url,integrity=null) {
script.src = url; script.src = url;
if(integrity){ if(integrity){
script.integrity=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) {
<body> <body>
</body> </body>
</html>`; </html>`;