Unverified Commit d381c47c authored by yann300's avatar yann300 Committed by GitHub

handle other kind of contract file

parent 2cdaa1c6
...@@ -201,7 +201,10 @@ class ContractDropdownUI { ...@@ -201,7 +201,10 @@ class ContractDropdownUI {
this.selectContractNames.style.display = 'none' this.selectContractNames.style.display = 'none'
this.enableContractNames(true) this.enableContractNames(true)
this.enableAtAddress(true) this.enableAtAddress(true)
} else if (/.(.sol)$/.exec(currentFile)) { } else if (/.(.sol)$/.exec(currentFile)
|| /.(.vy)$/.exec(currentFile)
|| /.(.lexon)$/.exec(currentFile)
|| /.(.contract)$/.exec(currentFile)) {
this.createPanel.style.display = 'block' this.createPanel.style.display = 'block'
this.orLabel.style.display = 'block' this.orLabel.style.display = 'block'
this.contractNamesContainer.style.display = 'block' this.contractNamesContainer.style.display = 'block'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment