From 1cc80940bc35c06e2dc862e6b559dca0287dfd06 Mon Sep 17 00:00:00 2001 From: rdwebdesign Date: Fri, 12 Nov 2021 03:17:14 -0300 Subject: [PATCH] Parentheses removed 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 f5e57981..03128374 100644 --- a/scripts/pi-hole/js/db_graph.js +++ b/scripts/pi-hole/js/db_graph.js @@ -18,7 +18,7 @@ var dateformat = "MMMM Do YYYY, HH:mm"; // get the database min timestamp var mintimestamp; $.getJSON("api_db.php?getMinTimestamp", function (ts) { - mintimestamp = ((ts.mintimestamp) * 1000) || 0; // return the timestamp in milliseconds or zero (in case of NaN) + mintimestamp = ts.mintimestamp * 1000 || 0; // return the timestamp in milliseconds or zero (in case of NaN) }); $(function () {