From 8bef1d0c99a3edff52a9340f54de966bb283c8c3 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 20 Mar 2022 20:56:29 +0100 Subject: [PATCH] something's fucky with window.parent.location --- src/csui/PlayerUiBase.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/csui/PlayerUiBase.vue b/src/csui/PlayerUiBase.vue index f6ca634..69dd0aa 100644 --- a/src/csui/PlayerUiBase.vue +++ b/src/csui/PlayerUiBase.vue @@ -135,7 +135,8 @@ export default { // we _should_ be always running from an iframe in order to // avoid fucking up CSS. This means rules of the game change // a wee tiny bit. - site: window.parent.location.hostname, + // site: null, + site: window.location.hostname, lastProbeTs: null, uiVisible: true,