contrib/notification.html: add and load the script

This commit is contained in:
Christian Hesse 2023-03-29 15:35:07 +02:00
parent 9d823448f6
commit 3d0107ed2c
2 changed files with 7 additions and 0 deletions

View file

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