1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

remove unnecessary listner

This commit is contained in:
frankiebee 2017-04-06 18:58:41 +02:00
parent 719d0f4ad5
commit 478a07ea81

View File

@ -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({