Files
wizarr/app/static
engels74 fa50e60e3f fix: require user interaction
Now supports multiple next buttons in interaction gating

Refactor the `attachInteractionGating` function to handle multiple "next" buttons, specifically for mobile and desktop versions.

The previous implementation only considered a single `#next-btn` element. This change updates it to find both `#wizard-next-btn` and `#wizard-next-btn-desktop`, allowing interaction gating to apply to all relevant next buttons.

A shared `enableAllButtons` function is introduced to ensure that once interaction is detected in the content, all next buttons are enabled simultaneously. Store button-specific handlers for proper cleanup.

Also, ensure the `attachInteractionGating` function is re-initialized after HTMX processes new content.
2025-10-16 15:28:48 +02:00
..
2025-07-13 14:54:27 +02:00
2025-10-16 15:28:48 +02:00
2025-05-21 12:05:15 +01:00
2025-07-13 15:07:19 +02:00
2025-07-13 14:54:27 +02:00
2025-05-21 12:05:15 +01:00