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:
commit
6f28426a22
@ -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.
|
||||
|
@ -11,4 +11,7 @@
|
||||
*/
|
||||
|
||||
const Extension = require('./extension-instance')
|
||||
module.exports = new Extension()
|
||||
const instance = new Extension()
|
||||
window.METAMASK_EXTENSION = instance
|
||||
module.exports = instance
|
||||
|
||||
|
@ -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)
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user