Installation via pip (#186)

Builder for https://pypi.org/project/changedetection.io/
This commit is contained in:
dgtlmoon
2021-08-16 15:24:37 +02:00
committed by GitHub
parent 642ad5660d
commit a11b6daa2e
66 changed files with 245 additions and 77 deletions

View File

@@ -0,0 +1,17 @@
window.addEventListener("load", (event) => {
// just an example for now
function toggleVisible(elem) {
// theres better ways todo this
var x = document.getElementById(elem);
if (x.style.display === "block") {
x.style.display = "none";
} else {
x.style.display = "block";
}
}
document.getElementById("toggle-customise-notifications").onclick = function () {
toggleVisible("notification-customisation");
};
});