mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Fix the size of the pop-up
This commit is contained in:
parent
bdaf940593
commit
5ae45fe17f
@ -4,7 +4,7 @@ const setupProvider = require('./lib/setup-provider.js')
|
||||
//
|
||||
// setup web3
|
||||
//
|
||||
|
||||
console.log('hello world im here')
|
||||
var provider = setupProvider()
|
||||
hijackProvider(provider)
|
||||
var web3 = new Web3(provider)
|
||||
@ -27,7 +27,7 @@ var shouldPop = false
|
||||
window.addEventListener('click', function(){
|
||||
if (!shouldPop) return
|
||||
shouldPop = false
|
||||
window.open('http://127.0.0.1:9001/popup/popup.html', '', 'width=1000')
|
||||
window.open('http://127.0.0.1:9001/popup/popup.html', '', 'width=360 height=500')
|
||||
console.log('opening window...')
|
||||
})
|
||||
|
||||
@ -41,4 +41,4 @@ function hijackProvider(provider){
|
||||
}
|
||||
_super(payload, cb)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user