Fixes for summary display

This commit is contained in:
joeuhren
2020-11-22 17:06:56 -07:00
parent f8615794ff
commit 2d133192f5
+2 -2
View File
@@ -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(' ');