fix case sensitive property (#1167)
parent
8114b25470
commit
cfbe8959d0
|
@ -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>`;
|
||||||
|
|
Loading…
Reference in New Issue