Modernize pool charts and navigation
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 26s

This commit is contained in:
Codex Bot
2026-03-24 11:50:59 +01:00
parent 2de9bbc4fb
commit 39e1395903
5 changed files with 285 additions and 41 deletions

View File

@@ -564,6 +564,7 @@ currentPage = {
$('#networkLastBlockFound,#poolLastBlockFound').timeago('dispose');
if (xhrHomeTopMiners) xhrHomeTopMiners.abort();
if (xhrHomeDualMm) xhrHomeDualMm.abort();
destroyApexChartsByPrefix(homeChartInstances, 'home_');
},
update: function(updateKey){
if (lastStats)
@@ -609,6 +610,7 @@ currentPage = {
updateText('blockSolvedTime', getReadableTime(lastStats.network.difficulty / lastStats.pool.hashrate));
home_RenderPoolBlocks(stats);
home_RenderPayments(stats);
home_CreateCharts(stats);
}
}
};