mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Codacy loves a complain
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user