diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2017-04-27 12:05:45 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2017-04-27 12:05:45 +0800 |
commit | 6bdb4c87288a522d9ea2e984bc1f6436d6c7369a (patch) | |
tree | 62c09f13aa36f582ddfbbca1b92302069035e061 /ui/app/components/notice.js | |
parent | afbe6f5e5fa18b663cfe68c40a05bcacda73e3ac (diff) | |
download | tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.gz tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.bz2 tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.lz tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.xz tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.tar.zst tangerine-wallet-browser-6bdb4c87288a522d9ea2e984bc1f6436d6c7369a.zip |
Fix linting warnings
Diffstat (limited to 'ui/app/components/notice.js')
-rw-r--r-- | ui/app/components/notice.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js index b85787033..3c8523daf 100644 --- a/ui/app/components/notice.js +++ b/ui/app/components/notice.js @@ -115,8 +115,9 @@ 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}) } - + if (document.getElementsByClassName('notice-box')[0].clientHeight < 310) { + this.setState({disclaimerDisabled: false}) + } } Notice.prototype.componentWillUnmount = function () { |