Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Oct 9, 2024
1 parent bd62b1b commit 683742a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion events/blocks/events-form/events-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ export default async function decorate(block, formData = null) {
formContainer: block.querySelector(':scope > div:nth-of-type(2)'),
form: block.querySelector(':scope > div:nth-of-type(2) a[href$=".json"]'),
terms: block.querySelector(':scope > div:nth-of-type(3)'),
successMsg: block.querySelector(':scope > div:last-of-type > div'),
successMsg: block.querySelector(':scope > div:nth-of-type(4) > div'),
};

await onProfile(bp, formData);
Expand Down
3 changes: 2 additions & 1 deletion events/scripts/content-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ async function handleRSVPBtnBasedOnProfile(rsvpBtn, miloLibs, profile) {
rsvpBtn.el.textContent = rsvpBtn.originalText;
rsvpBtn.el.classList.remove('disabled');
rsvpBtn.el.setAttribute('tabindex', 0);
rsvpBtn.el.addEventListener('click', () => {
rsvpBtn.el.addEventListener('click', (e) => {
e.preventDefault();
signIn();
});
}
Expand Down

0 comments on commit 683742a

Please sign in to comment.