From 3cc87970922abcade797eadd5de26878e35f2073 Mon Sep 17 00:00:00 2001 From: rdwebdesign Date: Fri, 12 Nov 2021 02:24:29 -0300 Subject: [PATCH] Fix prettier 2nd time Signed-off-by: rdwebdesign --- scripts/pi-hole/js/db_graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/db_graph.js b/scripts/pi-hole/js/db_graph.js index 4c0a3edd..dc0eb314 100644 --- a/scripts/pi-hole/js/db_graph.js +++ b/scripts/pi-hole/js/db_graph.js @@ -78,7 +78,7 @@ function updateQueriesOverTime() { timeLineChart.options.scales.xAxes[0].time.unit = "hour"; // Xaxis scaling based on selected daterange - if (num * interval >= 5 * 365 * 24 * 60 *60) { + if (num * interval >= 5 * 365 * 24 * 60 * 60) { // If the requested data is more than 5 years, set ticks interval to year timeLineChart.options.scales.xAxes[0].time.unit = "year"; } else if (num * interval >= 366 * 24 * 60 * 60) {