aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/index.umd.ts
diff options
context:
space:
mode:
authorRemco Bloemen <remco@wicked.ventures>2018-11-09 06:49:10 +0800
committerRemco Bloemen <remco@wicked.ventures>2018-11-09 06:49:10 +0800
commitfd73c17db1346ce264700315f964d946216061a9 (patch)
treeea921806732a8a4b06bb3696581063bcd0481469 /packages/instant/src/index.umd.ts
parentd71362af993d3797dbdbfcac245ad57f0086bce3 (diff)
parent689f8f1fbc34b6fa976f95419804f9eee7e637f6 (diff)
downloaddexon-sol-tools-fd73c17db1346ce264700315f964d946216061a9.tar
dexon-sol-tools-fd73c17db1346ce264700315f964d946216061a9.tar.gz
dexon-sol-tools-fd73c17db1346ce264700315f964d946216061a9.tar.bz2
dexon-sol-tools-fd73c17db1346ce264700315f964d946216061a9.tar.lz
dexon-sol-tools-fd73c17db1346ce264700315f964d946216061a9.tar.xz
dexon-sol-tools-fd73c17db1346ce264700315f964d946216061a9.tar.zst
dexon-sol-tools-fd73c17db1346ce264700315f964d946216061a9.zip
Merge remote-tracking branch 'origin/development' into feature/utils/prettybignum
Diffstat (limited to 'packages/instant/src/index.umd.ts')
-rw-r--r--packages/instant/src/index.umd.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/src/index.umd.ts b/packages/instant/src/index.umd.ts
index 59d1e646f..0274db30c 100644
--- a/packages/instant/src/index.umd.ts
+++ b/packages/instant/src/index.umd.ts
@@ -2,7 +2,7 @@ import * as _ from 'lodash';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
-import { DEFAULT_ZERO_EX_CONTAINER_SELECTOR, INJECTED_DIV_ID } from './constants';
+import { DEFAULT_ZERO_EX_CONTAINER_SELECTOR, INJECTED_DIV_CLASS, INJECTED_DIV_ID } from './constants';
import { ZeroExInstantOverlay, ZeroExInstantOverlayProps } from './index';
import { assert } from './util/assert';
@@ -41,6 +41,7 @@ export const render = (props: ZeroExInstantOverlayProps, selector: string = DEFA
const appendTo = appendToIfExists as Element;
const injectedDiv = document.createElement('div');
injectedDiv.setAttribute('id', INJECTED_DIV_ID);
+ injectedDiv.setAttribute('class', INJECTED_DIV_CLASS);
appendTo.appendChild(injectedDiv);
const instantOverlayProps = {
...props,