Permalink
Browse files

Enable CORS on o:deferredScript.

  • Loading branch information...
BalusC committed May 2, 2016
1 parent ddea407 commit ebd78a77d07bb09317201bcaf7c85c03ad5224b1
@@ -67,6 +67,7 @@ OmniFaces.DeferredScript = (function(Util, document) {
script.async = true;
script.src = deferredScript.url;
script.setAttribute("crossorigin", "anonymous");
script.onerror = function() {
deferredScript.error();

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit ebd78a7

Please sign in to comment.