fixed reset not unchecking recursive

This commit is contained in:
2025-07-05 22:50:11 +02:00
parent 3f427dfa32
commit 50ca8ab5bf
2 changed files with 10 additions and 1 deletions

10
.hintrc
View File

@@ -3,6 +3,14 @@
"development" "development"
], ],
"hints": { "hints": {
"apple-touch-icons": "off" "apple-touch-icons": "off",
"compat-api/css": [
"default",
{
"ignore": [
"-webkit-app-region"
]
}
]
} }
} }

View File

@@ -76,6 +76,7 @@ class PhotoGallery {
const title = document.title; const title = document.title;
const folders = document.querySelector(".folders"); const folders = document.querySelector(".folders");
if (folders) folders.style.display = ""; if (folders) folders.style.display = "";
document.getElementById("recursive").checked = false;
document document
.querySelectorAll("#tagdropdown input.tagcheckbox:checked") .querySelectorAll("#tagdropdown input.tagcheckbox:checked")
.forEach((checkbox) => (checkbox.checked = false)); .forEach((checkbox) => (checkbox.checked = false));