aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/notification.d/script.js
blob: 91741fdd03eb1bb4c86142784f9c2cba188e2765 (about) (plain) (blame)
1
2
3
4
5
6
function visible(cb, element) {
  document.getElementById(element).style.display = cb.checked ? "block" : "none";
}
function update(cb, element) {
  document.getElementById(element).innerHTML = cb.value;
}