diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 56fac0722b..a88c330b64 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -323,7 +323,7 @@ function compileTab (container, appAPI, appEvents, opts) { contractsDetails[name] = parseContracts(name, data.contracts[name], appAPI.currentCompiledSourceCode()) var contractName = yo` ` contractNames.appendChild(contractName) } diff --git a/test-browser/helpers/contracts.js b/test-browser/helpers/contracts.js index db6facaa43..5cc4264b98 100644 --- a/test-browser/helpers/contracts.js +++ b/test-browser/helpers/contracts.js @@ -13,7 +13,7 @@ function checkCompiledContracts (browser, compiled, callback) { } else { var ret = [] for (var c = 0; c < contracts.length; c++) { - ret.push(contracts[c].querySelector('div').innerHTML) + ret.push(contracts[c].innerHTML) } return ret }