Codacy forces { } even for single lines

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2018-06-03 12:24:15 +02:00
parent 965a8f31c7
commit 65cb428f35
+1 -1
View File
@@ -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;