aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-07-14 02:14:38 +0800
committerGitHub <noreply@github.com>2018-07-14 02:14:38 +0800
commit26363931ed8ba35a55073d00c4fe128c7e616acc (patch)
tree5a092a18fab2687a2d221209b947560f82884dcb /packages/website/ts/blockchain.ts
parente2438330f588eba03d50c18943b24d6e7f9e9479 (diff)
parentee54438e92f191637ecb0d36e9d79e707d1c976c (diff)
downloaddexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar
dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.gz
dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.bz2
dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.lz
dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.xz
dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.zst
dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.zip
Merge pull request #866 from 0xProject/feature/website/integrate-heap
Integrate Heap analytics into the website
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r--packages/website/ts/blockchain.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index 805b48856..93534e143 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -788,7 +788,7 @@ export class Blockchain {
return tokenByAddress;
}
private async _onPageLoadInitFireAndForgetAsync(): Promise<void> {
- await utils.onPageLoadAsync(); // wait for page to load
+ await utils.onPageLoadPromise; // wait for page to load
const networkIdIfExists = await Blockchain._getInjectedWeb3ProviderNetworkIdIfExistsAsync();
this.networkId = !_.isUndefined(networkIdIfExists) ? networkIdIfExists : constants.NETWORK_ID_MAINNET;
const injectedWeb3IfExists = Blockchain._getInjectedWeb3();