Skip to content

Commit

Permalink
remove the if not props as that seems to be getting race conditioned …
Browse files Browse the repository at this point in the history
…or something
  • Loading branch information
jwunderl committed Jul 12, 2023
1 parent ca914df commit 46a206f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions docfiles/pxtweb/cookieCompliance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@ namespace pxt {
}

if (envelope.baseType == "PageviewPerformanceData") {
if (!envelope.baseData.properties) {
return false;
}
const pageName = envelope.baseData.name;
envelope.baseData.name = window.location.origin;
if (!envelope.baseData.properties) {
Expand Down
3 changes: 0 additions & 3 deletions docfiles/tracking.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
}

if (envelope.baseType == "PageviewPerformanceData") {
if (!envelope.baseData.properties) {
return false;
}
var pageName = envelope.baseData.name;
envelope.baseData.name = window.location.origin;
if (!envelope.baseData.properties) {
Expand Down

0 comments on commit 46a206f

Please sign in to comment.