Commit 36533f38 authored by LianaHus's avatar LianaHus

remove update with yo. needs refactoring later1

parent 02acf8e4
......@@ -68,11 +68,6 @@ class ContractDropdownUI {
</div>
</div>
`
if (!this.atAddressButtonInput.value) {
this.atAddress.setAttribute('disabled', 'true')
} else {
this.atAddress.removeAttribute('disabled')
}
this.selectContractNames.addEventListener('change', this.setInputParamsPlaceHolder.bind(this))
this.setInputParamsPlaceHolder()
if (!this.el) {
......@@ -82,7 +77,11 @@ class ContractDropdownUI {
}
atAddressChanged (event) {
yo.update(this.el, this.render())
if (!this.atAddressButtonInput.value) {
this.atAddress.setAttribute('disabled', 'true')
} else {
this.atAddress.removeAttribute('disabled')
}
}
changeCurrentFile (currentFile) {
......
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