mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
clear localstorage item on manual enable
This commit is contained in:
@@ -64,6 +64,7 @@ function piholeChange(action, duration)
|
||||
// Handle Enable/Disable
|
||||
$("#pihole-enable").on("click", function(e){
|
||||
e.preventDefault();
|
||||
localStorage.removeItem("countDownTarget")
|
||||
piholeChange("enable","");
|
||||
});
|
||||
$("#pihole-disable-permanently").on("click", function(e){
|
||||
|
||||
Reference in New Issue
Block a user