Commit 312eceb6 authored by yann300's avatar yann300

clear element before adding enw value

parent 12de3682
...@@ -407,6 +407,7 @@ UniversalDApp.prototype.getCallButton = function (args) { ...@@ -407,6 +407,7 @@ UniversalDApp.prototype.getCallButton = function (args) {
} }
if (lookupOnly) { if (lookupOnly) {
var decoded = txFormat.decodeResponseToTreeView(executionContext.isVM() ? txResult.result.vm.return : ethJSUtil.toBuffer(txResult.result), args.funABI) var decoded = txFormat.decodeResponseToTreeView(executionContext.isVM() ? txResult.result.vm.return : ethJSUtil.toBuffer(txResult.result), args.funABI)
outputOverride.innerHTML = ''
outputOverride.appendChild(decoded) outputOverride.appendChild(decoded)
} }
} else { } else {
......
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