mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Codacy forces { } even for single lines
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user