Skip to content

Commit

Permalink
continue button scrolls
Browse files Browse the repository at this point in the history
  • Loading branch information
TomConner committed Nov 22, 2023
1 parent 7d7e215 commit 7b95cc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion generator/content/register/stripe-payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ document.addEventListener('DOMContentLoaded', async () => {
function loadPaymentChoices() {
const tabsPaymentMethod = document.getElementById("tabs-payment-method");
tabsPaymentMethod.classList.remove("hidden");
tabsPaymentMethod.scrollIntoView();

const tablink_pay_stripe = document.getElementById("tablink-pay-stripe");
const tablink_pay_venmo = document.getElementById("tablink-pay-venmo");
Expand Down Expand Up @@ -204,7 +205,8 @@ document.addEventListener('DOMContentLoaded', async () => {

// show stripe payment section
const stripePayment = document.getElementById('stripe-payment');
stripePayment.classList.remove('hidden');
stripePayment.classList.remove("hidden");
stripePayment.scrollIntoView();


// create and mount payment element
Expand Down

0 comments on commit 7b95cc9

Please sign in to comment.