1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Merge pull request #1284 from MetaMask/FixFirefoxPopup

Fix firefox popup
This commit is contained in:
kumavis 2017-03-29 11:12:03 -07:00 committed by GitHub
commit 6f28426a22
3 changed files with 9 additions and 2 deletions

View File

@ -2,6 +2,8 @@
## Current Master
- Popup new transactions in Firefox.
## 3.5.2 2017-3-28
- Fix bug where gas estimate totals were sometimes wrong.

View File

@ -11,4 +11,7 @@
*/
const Extension = require('./extension-instance')
module.exports = new Extension()
const instance = new Extension()
window.METAMASK_EXTENSION = instance
module.exports = instance

View File

@ -22,10 +22,12 @@ function show () {
extension.windows.create({
url: 'notification.html',
type: 'popup',
focused: true,
width,
height,
})
.catch((reason) => {
log.error('failed to create poupup', reason)
})
}
})
}