enable external css with crossorigin
This commit is contained in:
parent
e4d78745af
commit
11a66183f2
|
@ -396,6 +396,7 @@ div>label {
|
||||||
link.rel = "stylesheet";
|
link.rel = "stylesheet";
|
||||||
link.href = href;
|
link.href = href;
|
||||||
link.id = "link_css";
|
link.id = "link_css";
|
||||||
|
link.setAttribute("crossorigin", "anonymous");
|
||||||
document.head.appendChild(link);
|
document.head.appendChild(link);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue