mirror of
https://github.com/pi-hole/web.git
synced 2025-12-26 21:46:22 +00:00
timeout to be the same as whatever is set
This commit is contained in:
@@ -90,7 +90,7 @@ $("#pihole-disable-custom").on("click", function(e){
|
||||
var custVal = $("#customTimeout").val();
|
||||
custVal = $("#btnMins").hasClass("active") ? custVal * 60 : custVal;
|
||||
piholeChange("disable",custVal);
|
||||
setTimeout(function(){piholeChanged("enabled");},300000);
|
||||
setTimeout(function(){piholeChanged("enabled");},custVal * 1000);
|
||||
});
|
||||
|
||||
var piholeVersion = $("#piholeVersion").html();
|
||||
|
||||
Reference in New Issue
Block a user