From: Forrest Voight Date: Thu, 22 Mar 2012 16:37:57 +0000 (-0400) Subject: fixed rate request in static/index.html X-Git-Tag: 0.10.4~40 X-Git-Url: https://git.novaco.in/?p=p2pool.git;a=commitdiff_plain;h=117f7e58880781b1b1814f358a6a6f74a742a3b0 fixed rate request in static/index.html --- diff --git a/web-static/index.html b/web-static/index.html index b6684e1..e642e63 100644 --- 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) {