test
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 35s
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 35s
This commit is contained in:
parent
696fed74cf
commit
9f503c6aa2
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ input:checked + .slider:before {
|
||||||
var badge = document.getElementById(badgeid);
|
var badge = document.getElementById(badgeid);
|
||||||
|
|
||||||
if (message.action == "on") {
|
if (message.action == "on") {
|
||||||
checkbox.setAttribute('checked', 'checked');
|
checkbox.setAttribute('checked');
|
||||||
badge.textContent = "On";
|
badge.textContent = "On";
|
||||||
badge.classList.replace("badge-danger","badge-success");
|
badge.classList.replace("badge-danger","badge-success");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue