firewall: inherit color for themes

PR: https://forum.opnsense.org/index.php?topic=8699.0
This commit is contained in:
Franco Fichtner 2018-05-15 17:33:00 +00:00
parent 89b433f951
commit 319a8bca28

View File

@ -320,7 +320,7 @@ function daytoggle(id) {
if (daycell != null){
if (rgb2hex(daycell.style.backgroundColor) == "#FF0000"){ // red
daycell.style.backgroundColor = "#FFFFFF"; // white
daycell.style.backgroundColor = "inherit";
str = id + ",";
daysSelected = daysSelected.replace(str, "");
}