fromSitePoint Forums | Web Development & Design Community
1 month agoJavascript page transition issue
To ensure links in the main content trigger transitions, use event delegation on the `main` element. Check if the clicked element is a link before proceeding.