aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/faucet/faucet.html
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-10-17 17:08:57 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-10-17 17:08:57 +0800
commit7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f (patch)
treed4a1c49f7fc29550d924f0ec950005fbce1f7f87 /cmd/faucet/faucet.html
parent0bb194c956ac41eed5445c962b33f56d904b7759 (diff)
downloadgo-tangerine-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar
go-tangerine-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.gz
go-tangerine-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.bz2
go-tangerine-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.lz
go-tangerine-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.xz
go-tangerine-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.zst
go-tangerine-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.zip
cmd/faucet: proper error handling all over
Diffstat (limited to 'cmd/faucet/faucet.html')
-rw-r--r--cmd/faucet/faucet.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/faucet/faucet.html b/cmd/faucet/faucet.html
index 3b928d636..75dad0bdf 100644
--- a/cmd/faucet/faucet.html
+++ b/cmd/faucet/faucet.html
@@ -140,10 +140,10 @@
$("#block").text(parseInt(msg.number, 16));
}
if (msg.error !== undefined) {
- noty({layout: 'topCenter', text: msg.error, type: 'error'});
+ noty({layout: 'topCenter', text: msg.error, type: 'error', timeout: 5000, progressBar: true});
}
if (msg.success !== undefined) {
- noty({layout: 'topCenter', text: msg.success, type: 'success'});
+ noty({layout: 'topCenter', text: msg.success, type: 'success', timeout: 15000, progressBar: true});
}
if (msg.requests !== undefined && msg.requests !== null) {
var content = "";