diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-17 07:41:21 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-17 07:41:21 +0800 |
commit | 9a53a29b1f421cdea190b6175dec437ec6d76a39 (patch) | |
tree | 7593e4af1efce1bb50bc6bc9ab92bcaf051e85e6 /packages/instant/public | |
parent | f7914af9c564d4521e375fb3dd5825da763df7d6 (diff) | |
download | dexon-0x-contracts-9a53a29b1f421cdea190b6175dec437ec6d76a39.tar.gz dexon-0x-contracts-9a53a29b1f421cdea190b6175dec437ec6d76a39.tar.zst dexon-0x-contracts-9a53a29b1f421cdea190b6175dec437ec6d76a39.zip |
feat: allow integrator to disable pushstate logic
Diffstat (limited to 'packages/instant/public')
-rw-r--r-- | packages/instant/public/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/public/index.html b/packages/instant/public/index.html index 253cbb194..79edb6c17 100644 --- a/packages/instant/public/index.html +++ b/packages/instant/public/index.html @@ -128,8 +128,10 @@ availableAssetDatas: availableAssetDatasString ? JSON.parse(availableAssetDatasString) : undefined, defaultSelectedAssetData: queryParams.getQueryParamValue('defaultSelectedAssetData'), affiliateInfo: affiliateInfoOverride, + } const renderOptions = Object.assign({}, renderOptionsDefaults, removeUndefined(renderOptionsOverrides)); + window.onpopstate = () => console.log('Integrators onpopstate called'); zeroExInstant.render(renderOptions); </script> </body> |