Skip to content

Commit

Permalink
πŸ› Change check for DOMContentLoaded to astro:page-load (#3013)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckcarpenter authored Oct 11, 2024
1 parent 247b8ac commit 5af217e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion landing/src/pages/pricing.astro
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
import { actions } from 'astro:actions';
import { navigate } from 'astro:transitions/client';

document.addEventListener('DOMContentLoaded', () => {
document.addEventListener('astro:page-load', () => {
const buttons = document.querySelectorAll('button');

buttons.forEach((button) => {
Expand Down

0 comments on commit 5af217e

Please sign in to comment.