aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/utils.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-12 03:14:23 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-12 03:14:23 +0800
commit9131a72a47690912db9b536186d05120daabd115 (patch)
treeedbf0fb3b572a9422410b6fac9f47c103c1c0218 /packages/website/ts/utils/utils.ts
parentd319b53e23047d4ff62415555475ef6da5f3d774 (diff)
downloaddexon-sol-tools-9131a72a47690912db9b536186d05120daabd115.tar
dexon-sol-tools-9131a72a47690912db9b536186d05120daabd115.tar.gz
dexon-sol-tools-9131a72a47690912db9b536186d05120daabd115.tar.bz2
dexon-sol-tools-9131a72a47690912db9b536186d05120daabd115.tar.lz
dexon-sol-tools-9131a72a47690912db9b536186d05120daabd115.tar.xz
dexon-sol-tools-9131a72a47690912db9b536186d05120daabd115.tar.zst
dexon-sol-tools-9131a72a47690912db9b536186d05120daabd115.zip
Replace calls to google analytics with calls to heap
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r--packages/website/ts/utils/utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 8c76a7592..df7f8d10f 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -313,6 +313,7 @@ export const utils = {
const baseUrl = `https://${window.location.hostname}${hasPort ? `:${port}` : ''}`;
return baseUrl;
},
+ // TODO: Fix this, it's a lie.
async onPageLoadAsync(): Promise<void> {
if (document.readyState === 'complete') {
return; // Already loaded