We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26696a commit 4533b2cCopy full SHA for 4533b2c
vendor/TraceKit/tracekit.js
@@ -35,6 +35,16 @@ function getLocationHref() {
35
36
function getLocationOrigin() {
37
if (typeof document === 'undefined' || document.location == null) return '';
38
+
39
+ // Oh dear IE10...
40
+ if (!document.location.origin) {
41
+ document.location.origin =
42
+ document.location.protocol +
43
+ '//' +
44
+ document.location.hostname +
45
+ (document.location.port ? ':' + document.location.port : '');
46
+ }
47
48
return document.location.origin;
49
}
50
0 commit comments