Skip to content

Commit 1c7c245

Browse files
authored
feat(loader): Sync loader with Sentry template (#7001)
1 parent 5c41ab7 commit 1c7c245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/browser/src/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
var _currentScriptTag = _document.scripts[0];
6262
var _newScriptTag = _document.createElement(_script);
6363
_newScriptTag.src = _sdkBundleUrl;
64-
_newScriptTag.setAttribute('crossorigin', 'anonymous');
64+
_newScriptTag.crossOrigin = 'anonymous';
6565

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

0 commit comments

Comments
 (0)