aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/examples/info.html
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-18 05:20:47 +0800
committerobscuren <geffobscura@gmail.com>2015-02-18 05:20:47 +0800
commit7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048 (patch)
tree764d7ebd57cafbae0a12d046aeafd1b823a0f0bb /cmd/mist/assets/examples/info.html
parent11e12680ebe4f4679083317ee0f2c27b219d44b3 (diff)
downloaddexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.tar
dexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.tar.gz
dexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.tar.bz2
dexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.tar.lz
dexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.tar.xz
dexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.tar.zst
dexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.zip
Changed to ChainEvent and fixed a nil pointer in transact
Diffstat (limited to 'cmd/mist/assets/examples/info.html')
-rw-r--r--cmd/mist/assets/examples/info.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mist/assets/examples/info.html b/cmd/mist/assets/examples/info.html
index d8816b19f..2a405c280 100644
--- a/cmd/mist/assets/examples/info.html
+++ b/cmd/mist/assets/examples/info.html
@@ -71,6 +71,10 @@
document.querySelector("#gas_price").innerHTML = eth.gasPrice;
document.querySelector("#mining").innerHTML = eth.mining;
document.querySelector("#listening").innerHTML = eth.listening;
+ eth.watch('chain').changed(function() {
+ document.querySelector("#number").innerHTML = eth.number;
+ });
+
</script>
</html>