diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-10-17 17:08:57 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-10-17 17:08:57 +0800 |
commit | 7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f (patch) | |
tree | d4a1c49f7fc29550d924f0ec950005fbce1f7f87 /cmd/faucet/faucet.html | |
parent | 0bb194c956ac41eed5445c962b33f56d904b7759 (diff) | |
download | dexon-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar dexon-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.gz dexon-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.bz2 dexon-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.lz dexon-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.xz dexon-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.tar.zst dexon-7f7abfe4d1d7c51d968c0ead48b93fdb3cf2909f.zip |
cmd/faucet: proper error handling all over
Diffstat (limited to 'cmd/faucet/faucet.html')
-rw-r--r-- | cmd/faucet/faucet.html | 4 |
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 = ""; |