diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index 9c838cf5..f6671178 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -726,8 +726,7 @@ function updateSummaryData(runOnce) { function doughnutTooltip(tooltipLabel) { var percentageTotalShown = tooltipLabel.chart._metasets[0].total.toFixed(2); var label = " " + tooltipLabel.label; - - if (percentageTotalShown >= 100) { + if (percentageTotalShown >= 99.99) { // All items shown return label + ": " + tooltipLabel.parsed.toFixed(1) + "%"; } else {