aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/menu-droppo.js
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2017-10-25 02:22:31 +0800
committerGitHub <noreply@github.com>2017-10-25 02:22:31 +0800
commitae56b865e8a4d3a6a82a97efeca34b8a592c985b (patch)
treeb2d91f3094a096bee2e74c4306f5d71f1415f2a6 /ui/app/components/menu-droppo.js
parent61eea51310508714d753965e3055f533434001e7 (diff)
parent099078d13b7f8c3c9c4ca1e4d9e775f480b0ad8d (diff)
downloadtangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.tar.gz
tangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.tar.zst
tangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.zip
Merge pull request #1990 from chikeichan/firsttimeflow
Implement Mascara First Time Flow
Diffstat (limited to 'ui/app/components/menu-droppo.js')
-rw-r--r--ui/app/components/menu-droppo.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/menu-droppo.js b/ui/app/components/menu-droppo.js
index 66ab18954..a4e498c6b 100644
--- a/ui/app/components/menu-droppo.js
+++ b/ui/app/components/menu-droppo.js
@@ -95,6 +95,7 @@ MenuDroppoComponent.prototype.componentDidMount = function () {
if (this && document.body) {
this.globalClickHandler = this.globalClickOccurred.bind(this)
document.body.addEventListener('click', this.globalClickHandler)
+ // eslint-disable-next-line react/no-find-dom-node
var container = findDOMNode(this)
this.container = container
}
@@ -108,6 +109,7 @@ MenuDroppoComponent.prototype.componentWillUnmount = function () {
MenuDroppoComponent.prototype.globalClickOccurred = function (event) {
const target = event.target
+ // eslint-disable-next-line react/no-find-dom-node
const container = findDOMNode(this)
if (target !== container &&