diff options
author | Dan Finlay <flyswatter@users.noreply.github.com> | 2017-03-28 07:15:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 07:15:40 +0800 |
commit | ec9f73ed910acad23115602b025f80f2e9e94e70 (patch) | |
tree | 21e4570e7005a9f57cc160bc9dd4bf4ebce55e2a /ui | |
parent | 0faddb2ed2a2161be5b2af1630d583e04b750f94 (diff) | |
parent | a298130357996be48a61544154268025c4724cf4 (diff) | |
download | tangerine-wallet-browser-ec9f73ed910acad23115602b025f80f2e9e94e70.tar tangerine-wallet-browser-ec9f73ed910acad23115602b025f80f2e9e94e70.tar.gz tangerine-wallet-browser-ec9f73ed910acad23115602b025f80f2e9e94e70.tar.bz2 tangerine-wallet-browser-ec9f73ed910acad23115602b025f80f2e9e94e70.tar.lz tangerine-wallet-browser-ec9f73ed910acad23115602b025f80f2e9e94e70.tar.xz tangerine-wallet-browser-ec9f73ed910acad23115602b025f80f2e9e94e70.tar.zst tangerine-wallet-browser-ec9f73ed910acad23115602b025f80f2e9e94e70.zip |
Merge branch 'master' into master
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/notice.js | 3 | ||||
-rw-r--r-- | ui/lib/account-link.js | 2 | ||||
-rw-r--r-- | ui/lib/explorer-link.js | 2 |
3 files changed, 5 insertions, 2 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 () { diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js index 948f32da1..4f27b35c0 100644 --- a/ui/lib/account-link.js +++ b/ui/lib/account-link.js @@ -9,7 +9,7 @@ module.exports = function (address, network) { link = `http://morden.etherscan.io/address/${address}` break case 3: // ropsten test net - link = `http://testnet.etherscan.io/address/${address}` + link = `http://ropsten.etherscan.io/address/${address}` break case 42: // kovan test net link = `http://kovan.etherscan.io/address/${address}` diff --git a/ui/lib/explorer-link.js b/ui/lib/explorer-link.js index 7ae19cca0..ca89f8b25 100644 --- a/ui/lib/explorer-link.js +++ b/ui/lib/explorer-link.js @@ -6,7 +6,7 @@ module.exports = function (hash, network) { prefix = '' break case 3: // ropsten test net - prefix = 'testnet.' + prefix = 'ropsten.' break case 42: // kovan test net prefix = 'kovan.' |