1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00

Fix the size of the pop-up

This commit is contained in:
Frankie 2016-10-26 13:43:26 -07:00
parent bdaf940593
commit 5ae45fe17f

View File

@ -4,7 +4,7 @@ const setupProvider = require('./lib/setup-provider.js')
// //
// setup web3 // setup web3
// //
console.log('hello world im here')
var provider = setupProvider() var provider = setupProvider()
hijackProvider(provider) hijackProvider(provider)
var web3 = new Web3(provider) var web3 = new Web3(provider)
@ -27,7 +27,7 @@ var shouldPop = false
window.addEventListener('click', function(){ window.addEventListener('click', function(){
if (!shouldPop) return if (!shouldPop) return
shouldPop = false 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...') console.log('opening window...')
}) })