Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all js scripts waiting for DOMContentLoaded (already passed) #196

Merged
merged 3 commits into from
Jan 19, 2023

Conversation

nicolaskempf57
Copy link
Contributor

@nicolaskempf57 nicolaskempf57 commented Jan 19, 2023

Following #183, the js is loaded after the DOMContentLoaded event. The scripts wait for this DOMContentLoaded event, that appended before them so they are never triggered.

Fix datagouv/data.gouv.fr#1031
Fix #197
Also fix copy buttons on current dataset page, sort on reuses and organizations pages.

Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix! 🙏

theme/js/components/vanilla/accordion.js Outdated Show resolved Hide resolved
@nicolaskempf57 nicolaskempf57 merged commit 9f4876e into datagouv:master Jan 19, 2023
@nicolaskempf57 nicolaskempf57 deleted the fix/home-tabs branch January 19, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tabs on your home page are broken Fix les onglets de la home
2 participants