Skip to content

Commit

Permalink
feat(loader): Sync loader with Sentry template (getsentry#7001)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored Feb 1, 2023
1 parent 5c41ab7 commit 1c7c245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/browser/src/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
var _currentScriptTag = _document.scripts[0];
var _newScriptTag = _document.createElement(_script);
_newScriptTag.src = _sdkBundleUrl;
_newScriptTag.setAttribute('crossorigin', 'anonymous');
_newScriptTag.crossOrigin = 'anonymous';

// Once our SDK is loaded
_newScriptTag.addEventListener('load', function() {
Expand Down

0 comments on commit 1c7c245

Please sign in to comment.