mirror of https://github.com/BTCPrivate/z-nomp.git
Merge pull request #48 from GMFlash/patch-1
Fix ReferenceError: Can't find variable: algos
This commit is contained in:
commit
33aa07a23e
|
@ -28,9 +28,9 @@ $(function(){
|
|||
var statsSource = new EventSource("/api/live_stats");
|
||||
statsSource.addEventListener('message', function(e){
|
||||
var stats = JSON.parse(e.data);
|
||||
for (algo in algos) {
|
||||
$('#statsMiners'+algo).text(stats.algos[algo].workers);
|
||||
$('#statsHashrate'+algo).text(stats.algos[algo].hashrateString);
|
||||
for (algo in stats.algos) {
|
||||
$('#statsMiners'+algo).text(stats.algos[algo].workers);
|
||||
$('#statsHashrate'+algo).text(stats.algos[algo].hashrateString);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue