Added a hint to reload page on injected-provider-not-found msg

pull/1/head
holgerd77 7 years ago
parent 098351b648
commit 8786773d8d
  1. 3
      src/execution-context.js

@ -136,7 +136,8 @@ function ExecutionContext () {
if (context === 'injected') {
if (injectedProvider === undefined) {
var alertMsg = 'No injected Web3 provider found. '
alertMsg += 'Make sure your provider (e.g. MetaMask) is active and running.'
alertMsg += 'Make sure your provider (e.g. MetaMask) is active and running '
alertMsg += '(when recently activated you may have to reload the page).'
modalDialogCustom.alert(alertMsg)
cb()
} else {

Loading…
Cancel
Save