From 533746992262217bd5d3dc9adc02845ef27aba89 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Thu, 15 Dec 2016 11:34:02 +0000 Subject: [PATCH] redundant double negation --- js/pihole/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/pihole/index.js b/js/pihole/index.js index c0e2141b..0585d120 100644 --- a/js/pihole/index.js +++ b/js/pihole/index.js @@ -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, {