@ -217,10 +217,7 @@ function ExecutionContext () {
if(context==='injected'){
if(context==='injected'){
if(injectedProvider===undefined){
if(injectedProvider===undefined){
varalertMsg='No injected Web3 provider found. '
infoCb('No injected Web3 provider found. Make sure your provider (e.g. MetaMask) is active and running (when recently activated you may have to reload the page).')
alertMsg+='Make sure your provider (e.g. MetaMask) is active and running '
alertMsg+='(when recently activated you may have to reload the page).'
infoCb(alertMsg)
returncb()
returncb()
}else{
}else{
self.askPermission()
self.askPermission()
@ -288,9 +285,7 @@ function ExecutionContext () {
cb()
cb()
}else{
}else{
web3.setProvider(oldProvider)
web3.setProvider(oldProvider)
varalertMsg='Not possible to connect to the Web3 provider. '
cb('Not possible to connect to the Web3 provider. Make sure the provider is running and a connection is open (via IPC or RPC).')
alertMsg+='Make sure the provider is running and a connection is open (via IPC or RPC).'