enable external css with crossorigin

This commit is contained in:
Wolfgang 2024-05-30 18:25:33 +02:00
parent e4d78745af
commit 11a66183f2

View file

@ -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);
} }
} }