aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-03-28 04:45:04 +0800
committerGitHub <noreply@github.com>2017-03-28 04:45:04 +0800
commit67892c49a6cb26e433e3dbeaa9f2f7790667f103 (patch)
tree29e74d1c3a1586fa568583a9ff93c04596d5bf8e /ui
parent6fd7e133bd0966e2a15a802872844a11b1c81ae6 (diff)
parenta298130357996be48a61544154268025c4724cf4 (diff)
downloadtangerine-wallet-browser-67892c49a6cb26e433e3dbeaa9f2f7790667f103.tar
tangerine-wallet-browser-67892c49a6cb26e433e3dbeaa9f2f7790667f103.tar.gz
tangerine-wallet-browser-67892c49a6cb26e433e3dbeaa9f2f7790667f103.tar.bz2
tangerine-wallet-browser-67892c49a6cb26e433e3dbeaa9f2f7790667f103.tar.lz
tangerine-wallet-browser-67892c49a6cb26e433e3dbeaa9f2f7790667f103.tar.xz
tangerine-wallet-browser-67892c49a6cb26e433e3dbeaa9f2f7790667f103.tar.zst
tangerine-wallet-browser-67892c49a6cb26e433e3dbeaa9f2f7790667f103.zip
Merge branch 'master' into kovan-faucet-instructions
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/notice.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js
index 8a953a6b5..b85787033 100644
--- a/ui/app/components/notice.js
+++ b/ui/app/components/notice.js
@@ -92,6 +92,7 @@ Notice.prototype.render = function () {
},
}, [
h(ReactMarkdown, {
+ className: 'notice-box',
source: body,
skipHtml: true,
}),
@@ -114,6 +115,8 @@ Notice.prototype.render = function () {
Notice.prototype.componentDidMount = function () {
var node = findDOMNode(this)
linker.setupListener(node)
+ if (document.getElementsByClassName('notice-box')[0].clientHeight < 310) { this.setState({disclaimerDisabled: false}) }
+
}
Notice.prototype.componentWillUnmount = function () {