Skip to content

Commit

Permalink
Update events-form.js
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Oct 9, 2024
1 parent d937cc1 commit 079a65e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions events/blocks/events-form/events-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ function showSuccessMsgFirstScreen(bp) {
const registrationStatus = rsvpData?.espProvider?.registrationStatus;

if (registrationStatus === 'waitlisted') {
bp.waitlistSuccessScreen.classList.remove('hidden');
bp.waitlistSuccessScreen.querySelector('.first-screen')?.classList.remove('hidden');
bp.waitlistSuccessScreen?.classList.remove('hidden');
bp.waitlistSuccessScreen?.querySelector('.first-screen')?.classList.remove('hidden');
}

if (registrationStatus === 'registered') {
bp.rsvpSuccessScreen.classList.remove('hidden');
bp.rsvpSuccessScreen.querySelector('.first-screen')?.classList.remove('hidden');
bp.rsvpSuccessScreen?.classList.remove('hidden');
bp.rsvpSuccessScreen?.querySelector('.first-screen')?.classList.remove('hidden');
}
}

Expand Down

0 comments on commit 079a65e

Please sign in to comment.