don't init run tab if file changed

pull/3094/head
yann300 6 years ago
parent 11322f6b4e
commit 645ca9cd97
  1. 1
      src/app/tabs/runTab/contractDropdown.js

@ -76,7 +76,6 @@ class ContractDropdownUI {
if (!document.querySelector(`.${css.contractNames}`)) return
document.querySelector(`.${css.contractNames}`).classList.remove(css.contractNamesError)
var contractNames = document.querySelector(`.${css.contractNames.classNames[0]}`)
contractNames.innerHTML = ''
if (/.(.abi)$/.exec(currentFile)) {
this.createPanel.style.display = 'none'
this.orLabel.style.display = 'none'

Loading…
Cancel
Save