clear localstorage item on manual enable

This commit is contained in:
Promofaux
2017-02-18 00:45:05 +00:00
parent 18d914322b
commit 2039fec556

View File

@@ -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){