pull/848/head
yann300 4 years ago committed by GitHub
parent bac6588b04
commit 34523f395a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      apps/remix-ide/src/app/tabs/runTab/contractDropdown.js

@ -201,10 +201,10 @@ class ContractDropdownUI {
this.selectContractNames.style.display = 'none'
this.enableContractNames(true)
this.enableAtAddress(true)
} else if (/.(.sol)$/.exec(currentFile)
|| /.(.vy)$/.exec(currentFile) // vyper
|| /.(.lex)$/.exec(currentFile) // lexon
|| /.(.contract)$/.exec(currentFile)) {
} else if (/.(.sol)$/.exec(currentFile) ||
/.(.vy)$/.exec(currentFile) || // vyper
/.(.lex)$/.exec(currentFile) || // lexon
/.(.contract)$/.exec(currentFile)) {
this.createPanel.style.display = 'block'
this.orLabel.style.display = 'block'
this.contractNamesContainer.style.display = 'block'

Loading…
Cancel
Save