Skip to content

Commit

Permalink
Merge pull request tinymce#718 in TINYMCE/tinymce from TINY-1891 to m…
Browse files Browse the repository at this point in the history
…aster

* commit '484e933bca6122a620bfe973aef06e2feb47fc4e':
  TINY-1891: add crossorigin=anonymous to scriptloader
  • Loading branch information
Mattias Wikström committed Oct 23, 2018
2 parents 709f0c1 + 484e933 commit eb8ba1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/main/ts/dom/StyleSheetLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export function StyleSheetLoader(document, settings?): StyleSheetLoader {
link.id = 'u' + (idCount++);
link.async = false;
link.defer = false;
link.crossOrigin = 'anonymous';
startTime = new Date().getTime();

// Feature detect onload on link element and sniff older webkits since it has an broken onload event
Expand Down

0 comments on commit eb8ba1b

Please sign in to comment.