aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mist')
-rw-r--r--cmd/mist/assets/examples/coin.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mist/assets/examples/coin.html b/cmd/mist/assets/examples/coin.html
index 93edfd6f6..572f6959d 100644
--- a/cmd/mist/assets/examples/coin.html
+++ b/cmd/mist/assets/examples/coin.html
@@ -65,9 +65,10 @@
}
var contract = web3.eth.contract(address, desc);
- document.querySelector("#balance").innerHTML = contract.call().balance(eth.coinbase);
function reflesh() {
+ document.querySelector("#balance").innerHTML = contract.call().balance(eth.coinbase);
+
var table = document.querySelector("#table");
table.innerHTML = ""; // clear