removed the broken function

This commit is contained in:
Justin 2023-08-22 23:33:55 +08:00 committed by GitHub
parent 1812c63908
commit 3920578668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3620,14 +3620,3 @@ function saveScreensaverSettings() {
}); });
document.getElementById('screensaver-saved').style.display = "block"; document.getElementById('screensaver-saved').style.display = "block";
} }
// close scheduler or screensaver div
document.addEventListener("click", function(event) {
if (!document.getElementById("screensaver-div").contains(event.target) || !document.getElementById("scheduler-div").contains(event.target)) {
document.getElementById("screensaver-div").style.display = "none";
document.getElementById("scheduler-div").style.display = "none";
}
});