mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
contrib/notification.html: add and load the script
This commit is contained in:
6
contrib/notification.d/script.js
Normal file
6
contrib/notification.d/script.js
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user