git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8362473
)
fixed rate request in static/index.html
author
Forrest Voight
<forrest@forre.st>
Thu, 22 Mar 2012 16:37:57 +0000 (12:37 -0400)
committer
Forrest Voight
<forrest@forre.st>
Thu, 22 Mar 2012 16:38:07 +0000 (12:38 -0400)
web-static/index.html
patch
|
blob
|
history
diff --git
a/web-static/index.html
b/web-static/index.html
index
b6684e1
..
e642e63
100644
(file)
--- a/
web-static/index.html
+++ b/
web-static/index.html
@@
-8,8
+8,8
@@
alert("error: " + settings.url + ": " + err.message);
});
- $.get('/rate', function(data) {
- $('#hashrate').html(data / 1000000000);
+ $.getJSON('/rate', function(rate) {
+ $('#hashrate').html(rate / 1000000000);
});
$.getJSON('/current_payouts', function(pays) {