aboutsummaryrefslogtreecommitdiffstats
path: root/mascara
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-04-07 00:58:41 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-04-07 00:58:41 +0800
commit478a07ea81556a62a39c229d4feecf9c0d9a7cdb (patch)
tree417d4ed9b3e91aea554ba17a01bccc7e184fe0ab /mascara
parent719d0f4ad5ba7da2b807641a2afdc969d74d913c (diff)
downloadtangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar
tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.gz
tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.bz2
tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.lz
tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.xz
tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.tar.zst
tangerine-wallet-browser-478a07ea81556a62a39c229d4feecf9c0d9a7cdb.zip
remove unnecessary listner
Diffstat (limited to 'mascara')
-rw-r--r--mascara/src/proxy.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/mascara/src/proxy.js b/mascara/src/proxy.js
index 8d91e4553..5ead75f94 100644
--- a/mascara/src/proxy.js
+++ b/mascara/src/proxy.js
@@ -9,12 +9,7 @@ const background = new SWcontroller({
letBeIdle: false,
intervalDelay,
})
-window.onfocus = () => {
- background.sendMessage('wakeUp')
- .catch((err) => {
- console.error('problem with wake up', err)
- })
-}
+
const pageStream = new ParentStream()
background.on('ready', (_) => {
let swStream = SwStream({