don't init run tab if file changed

pull/1/head
yann300 6 years ago
parent fab762ccce
commit aba1bc3825
  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