routeros-scripts/contrib/notification.d/script.js

7 lines
206 B
JavaScript
Raw Normal View History

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