aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-09-09 05:56:19 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-09-09 05:56:19 +0800
commit3f64095eed151dbef9e18d388c8f30d43f18bbae (patch)
tree712c02bfc76bfa8136e123d6ab7ceae85a50a6ba /ui
parentece1ecb90b6b013b5ea6f81de562d4a391d0f700 (diff)
parent079c1a897260942af227d58a295c022765e34d59 (diff)
downloadtangerine-wallet-browser-3f64095eed151dbef9e18d388c8f30d43f18bbae.tar
tangerine-wallet-browser-3f64095eed151dbef9e18d388c8f30d43f18bbae.tar.gz
tangerine-wallet-browser-3f64095eed151dbef9e18d388c8f30d43f18bbae.tar.bz2
tangerine-wallet-browser-3f64095eed151dbef9e18d388c8f30d43f18bbae.tar.lz
tangerine-wallet-browser-3f64095eed151dbef9e18d388c8f30d43f18bbae.tar.xz
tangerine-wallet-browser-3f64095eed151dbef9e18d388c8f30d43f18bbae.tar.zst
tangerine-wallet-browser-3f64095eed151dbef9e18d388c8f30d43f18bbae.zip
Merge branch 'i#589pendingTxsIssue' of https://github.com/MetaMask/metamask-plugin into i#589pendingTxsIssue
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/mascot.js17
1 files changed, 3 insertions, 14 deletions
diff --git a/ui/app/components/mascot.js b/ui/app/components/mascot.js
index f2b00262b..d0d599ea0 100644
--- a/ui/app/components/mascot.js
+++ b/ui/app/components/mascot.js
@@ -14,7 +14,6 @@ function Mascot () {
pxNotRatio: true,
width: 200,
height: 200,
- staticImage: './images/icon-512.png',
})
if (!this.logo.webGLSupport) return
this.refollowMouse = debounce(this.logo.setFollowMouse.bind(this.logo, true), 1000)
@@ -27,28 +26,18 @@ Mascot.prototype.render = function () {
// and we dont get that until render
this.handleAnimationEvents()
- return (
-
- h('#metamask-mascot-container')
-
- )
+ return h('#metamask-mascot-container')
}
Mascot.prototype.componentDidMount = function () {
var targetDivId = 'metamask-mascot-container'
var container = document.getElementById(targetDivId)
- if (!this.logo.webGLSupport) {
- var staticLogo = this.logo.staticLogo
- staticLogo.style.marginBottom = '40px'
- container.appendChild(staticLogo)
- } else {
- container.appendChild(this.logo.canvas)
- }
+ container.appendChild(this.logo.container)
}
Mascot.prototype.componentWillUnmount = function () {
if (!this.logo.webGLSupport) return
- this.logo.canvas.remove()
+ this.logo.container.remove()
}
Mascot.prototype.handleAnimationEvents = function () {