Fixes for summary display
This commit is contained in:
+2
-2
@@ -31,10 +31,10 @@ html
|
||||
$("#masternodeCountOffline").text(json.data[0].masternodeCountOffline).prop("alt", json.data[0].masternodeCountOffline+" unreachable nodes").prop("title", json.data[0].masternodeCountOffline+" unreachable nodes");
|
||||
$("#spnMasternodeCountOnline").prop("alt", json.data[0].masternodeCountOnline+" nodes online").prop("title", json.data[0].masternodeCountOnline+" nodes online");
|
||||
$("#spnMasternodeCountOffline").prop("alt", json.data[0].masternodeCountOffline+" unreachable nodes").prop("title", json.data[0].masternodeCountOffline+" unreachable nodes");
|
||||
$("#difficulty").text(json.data[0].difficulty.toFixed(2));
|
||||
$("#difficulty").text(parseFloat(json.data[0].difficulty).toFixed(2));
|
||||
$("#difficultyHybrid").text(json.data[0].difficultyHybrid);
|
||||
$("#hashrate").text(parseFloat(json.data[0].hashrate).toLocaleString('en'));
|
||||
$("#lastPrice").text(json.data[0].lastPrice.toFixed(8));
|
||||
$("#lastPrice").text(parseFloat(json.data[0].lastPrice).toFixed(8));
|
||||
$("#lblConnections").text(json.data[0].connections + ' connections');
|
||||
$("#lblBlockcount").text(json.data[0].blockcount + ' blocks');
|
||||
$("#lblX1").text(' ');
|
||||
|
||||
Reference in New Issue
Block a user