From 65cb428f3563f70390dd59d2dd6bd890fc278e30 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 3 Jun 2018 12:24:15 +0200 Subject: [PATCH] Codacy forces { } even for single lines Signed-off-by: DL6ER --- scripts/pi-hole/js/queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 4d6d3772..059e0a95 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -282,7 +282,7 @@ $(document).ready(function() { // Receive previous state from client's local storage area var data = localStorage.getItem("query_log_table"); // Return if not available - if(data === null) return null; + if(data === null){ return null; } // Ensure that we always start on the first page (most recent query) data = JSON.parse(data); data["start"] = 0;