From c24d4ab5a542a94a94ce301b53ea9cf2cf3b48e3 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Mon, 9 Mar 2026 14:26:24 -0500 Subject: [PATCH] fix save/load config --- rdgenerator/templates/generator.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdgenerator/templates/generator.html b/rdgenerator/templates/generator.html index babfba3..55544d8 100644 --- a/rdgenerator/templates/generator.html +++ b/rdgenerator/templates/generator.html @@ -603,7 +603,7 @@ } const privacyPreview = document.getElementById('privacy-preview'); - if (privacyPreview.firstChild && logoPrprivacyPrevieweview.firstChild.src.startsWith('data:image/png;base64')) { + if (privacyPreview.firstChild && privacyPreview.firstChild.src.startsWith('data:image/png;base64')) { formData.privacyfile = privacyPreview.firstChild.src; // Use existing base64 } else { //if it's a file upload const privacyFile = document.getElementById("{{ form.privacyfile.id_for_label }}").files[0];