|
|
@ -18,6 +18,7 @@ class ContractDropdownUI { |
|
|
|
|
|
|
|
|
|
|
|
listenToEvents () { |
|
|
|
listenToEvents () { |
|
|
|
this.dropdownLogic.event.register('newlyCompiled', (success, data, source, compiler, compilerFullName) => { |
|
|
|
this.dropdownLogic.event.register('newlyCompiled', (success, data, source, compiler, compilerFullName) => { |
|
|
|
|
|
|
|
if (!document.querySelector(`.${css.contractNames.classNames[0]}`)) return |
|
|
|
var contractNames = document.querySelector(`.${css.contractNames.classNames[0]}`) |
|
|
|
var contractNames = document.querySelector(`.${css.contractNames.classNames[0]}`) |
|
|
|
contractNames.innerHTML = '' |
|
|
|
contractNames.innerHTML = '' |
|
|
|
if (success) { |
|
|
|
if (success) { |
|
|
|