Merge pull request #1284 from MetaMask/FixFirefoxPopup

Fix firefox popup
feature/default_network_editable
kumavis 8 years ago committed by GitHub
commit 6f28426a22
  1. 2
      CHANGELOG.md
  2. 5
      app/scripts/lib/extension.js
  3. 4
      app/scripts/lib/notifications.js

@ -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…
Cancel
Save