mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #249 from pi-hole/codacyDevel
redundant double negation
This commit is contained in:
+1
-1
@@ -311,7 +311,7 @@ $(document).ready(function() {
|
||||
updateQueriesOverTime();
|
||||
|
||||
// Create / load "Query Types" only if authorized
|
||||
if(!!document.getElementById("queryTypeChart"))
|
||||
if(document.getElementById("queryTypeChart"))
|
||||
{
|
||||
ctx = document.getElementById("queryTypeChart").getContext("2d");
|
||||
queryTypeChart = new Chart(ctx, {
|
||||
|
||||
Reference in New Issue
Block a user