Skip to content

🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!

Correct setupPhotoCapture registration comment

Dariusz Górecki7c537aea2090
diff --git a/frontend/script.js b/frontend/script.js
index b3dc513..c09ba61 100644
--- a/frontend/script.js
+++ b/frontend/script.js
@@ -3471,7 +3471,7 @@ document.addEventListener('DOMContentLoaded', function() {
if (warrantyForm) {
initWarrantyForm();
}
- // Photo capture/downscale for pages that have the inputs but not the add form (e.g. status)
+ // Sole registration point for photo capture/downscale — presence-keyed, covers every page
setupPhotoCapture('productPhoto');
setupPhotoCapture('editProductPhoto');