routeros-scripts/contrib/notification.d/script.js
2023-03-29 15:35:07 +02:00

6 lines
206 B
JavaScript

function visible(cb, element) {
document.getElementById(element).style.display = cb.checked ? "block" : "none";
}
function update(cb, element) {
document.getElementById(element).innerHTML = cb.value;
}