mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix services settings on modal open
This commit is contained in:
parent
ba9c16a5d7
commit
4346322f74
1 changed files with 2 additions and 2 deletions
|
|
@ -238,8 +238,8 @@ class ServiceModal {
|
|||
inpt.tagName === "INPUT" &&
|
||||
inpt.getAttribute("type") === "checkbox"
|
||||
) {
|
||||
inpt.checked = defaultVal === "yes" ? true : false;
|
||||
inpt.setAttribute("value", defaultVal);
|
||||
inpt.checked = value === "yes" ? true : false;
|
||||
inpt.setAttribute("value", value);
|
||||
}
|
||||
//for select
|
||||
if (inpt.tagName === "SELECT") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue