Three small post-cutover fixes reported during E2E retest 2026-05-07: 1. js/form-handler.js: disable EmailJS welcome-back call in showAlreadyRegistered. The EmailJS account is Melissa-only (no Serge access) and its template still has a '(c) 2025' footer inconsistent with the Resend emails sent by the new Worker. The user already sees their existing reference number in the showAlreadyRegistered modal (= cosmetic email, not critical). To re-implement properly: route through Worker + Resend in a future PR. 2. 10 HTML pages: remove duplicate .lang-switcher block from .mobile-nav. The header already has a lang-switcher visible on mobile, the second one inside the slide-in mobile menu was redundant. 3. js/main.js: fix IntersectionObserver threshold for animate-on-scroll. Was threshold: 0.1 — never fires on mobile portrait for cgv.html and politique-confidentialite.html because those pages have data-lang-block elements 2000-3000px tall (verbose FR/EN/MG trilingual content) and viewport (~600px) never reaches 10% intersection ratio. Now threshold: 0 — fires as soon as any pixel enters viewport. mentions-legales.html unaffected because its blocks were short enough to satisfy the previous 10%. Refs: WordPress \xe2\x86\x92 static migration, post-cutover polish. |
||
|---|---|---|
| .. | ||
| confirmation.js | ||
| form-handler.js | ||
| intro-scene.js | ||
| main.js | ||
| translations.js | ||