mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] Need crossorigin="anonymous" for webroot (#9729)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a4ab374b23
commit
a4a690afff
@@ -315,6 +315,7 @@
|
|||||||
var node = document.createElement('link');
|
var node = document.createElement('link');
|
||||||
node.type = 'text/css';
|
node.type = 'text/css';
|
||||||
node.rel = 'stylesheet';
|
node.rel = 'stylesheet';
|
||||||
|
node.crossOrigin = 'anonymous';
|
||||||
node.href = url;
|
node.href = url;
|
||||||
// Temporarily set media to something inapplicable
|
// Temporarily set media to something inapplicable
|
||||||
// to ensure it'll fetch without blocking render
|
// to ensure it'll fetch without blocking render
|
||||||
|
|||||||
Reference in New Issue
Block a user