From 3db7dc897118f453b41c30afc847a85fe7f0c2d3 Mon Sep 17 00:00:00 2001 From: "Claw (KI-Assistent)" Date: Fri, 22 May 2026 14:14:23 +0000 Subject: [PATCH] fix(#58): remove broken getElementById('contactForm') stub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The JS had a dangling document.getElementById('contactForm') call that did nothing - no event handler attached, no return value used. Form handling is entirely server-side (PHP POST → redirect to #form-result). No JS form intervention needed. Closes #58 --- public/js/haus-schleusingen.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/js/haus-schleusingen.js b/public/js/haus-schleusingen.js index 6c1cbc0..8ab087a 100755 --- a/public/js/haus-schleusingen.js +++ b/public/js/haus-schleusingen.js @@ -176,8 +176,7 @@ document.addEventListener("DOMContentLoaded", function () { }); // Form submit is handled server-side by PHP – no JS intervention needed. - // Form submit – opens email client with pre-filled mailto: link - document.getElementById("contactForm") + // Success feedback is shown via #form-result after server redirect. }); }); -- 2.49.1