Skip to content

Commit a48f9bf

Browse files
authored
Update big_game_script.js
1 parent e1d4798 commit a48f9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/big_game_script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ function emit() {
868868
isFramed: framed,
869869
}
870870
if (framed) {
871-
data["parentDomainHost"] = new URL(window.location.ancestorOrigins[0]).hostname > 0) ? new URL(window.location.ancestorOrigins[0]).hostname : "unknown";
871+
data["parentDomainHost"] = new URL(window.location.ancestorOrigins[0]).hostname.length > 0) ? new URL(window.location.ancestorOrigins[0]).hostname : "unknown";
872872
}
873873
log(data);
874874
gtag("event", "play_game", data);

0 commit comments

Comments
 (0)