From e54ad166cbbe6d617132886ff66f0321472b3b0e Mon Sep 17 00:00:00 2001 From: Promofaux Date: Fri, 17 Feb 2017 21:15:10 +0000 Subject: [PATCH] Codacy loves a complain --- scripts/pi-hole/js/footer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pi-hole/js/footer.js b/scripts/pi-hole/js/footer.js index 4b56b292..4b5eaeb9 100644 --- a/scripts/pi-hole/js/footer.js +++ b/scripts/pi-hole/js/footer.js @@ -87,8 +87,8 @@ $("#pihole-disable-5m").on("click", function(e){ }); $("#pihole-disable-custom").on("click", function(e){ e.preventDefault(); - var custVal = $('#customTimeout').val(); - custVal = $('#btnMins').hasClass("active") ? custVal * 60 : custVal; + var custVal = $("#customTimeout").val(); + custVal = $("#btnMins").hasClass("active") ? custVal * 60 : custVal; piholeChange("disable",custVal); setTimeout(function(){piholeChanged("enabled");},300000); });