Merge pull request #842 from ethereum/fixLoadingAccount

Fix loading account
pull/1/head
yann300 7 years ago committed by GitHub
commit c3f6029230
  1. 1
      src/app/editor/editor.js
  2. 2
      src/app/tabs/run-tab.js

@ -31,7 +31,6 @@ function Editor (opts = {}) {
ace.acequire('ace/ext/language_tools')
editor.setOptions({
enableBasicAutocompletion: true,
enableSnippets: true,
enableLiveAutocompletion: true
})
var flowCompleter = {

@ -202,9 +202,9 @@ function runTab (container, appAPI, appEvents, opts) {
executionContext.executionContextChange(selectExEnv.options[selectExEnv.selectedIndex].value, null, () => {
// set the final context. Cause it is possible that this is not the one we've originaly selected
selectExEnv.value = executionContext.getProvider()
fillAccountsList(appAPI, el)
})
fillAccountsList(appAPI, el)
instanceContainer.innerHTML = '' // clear the instances list
noInstancesText.style.display = 'block'
instanceContainer.appendChild(noInstancesText)

Loading…
Cancel
Save