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 b3cc3b8 commit 0205265Copy full SHA for 0205265
src/client/shared/wrap.ts
@@ -73,6 +73,8 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
73
config.globals.wrappropertybase + "location",
74
{
75
get: function () {
76
+ // if (this.location.constructor.toString().includes("Location")) {
77
+
78
if (this === self || this === self.document) {
79
return client.locationProxy;
80
}
@@ -81,7 +83,7 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
81
83
},
82
84
set(value: any) {
85
- client.locationProxy = value;
86
+ client.url = value;
87
88
return;
89
0 commit comments