Moving the accordion initialization to global.js because it didn't exist in home.js but was duped in both init.js and data-init.js. Since we need it on every page, we're moving it to global
Digging in to the .gov banner, I unbolded the datatables version (its font-weight was being overridden by accordion styles).
Required reviewers
front-end
Impacted areas of the application
The .gov banner but also every accordion. We should check a few templates.
Screenshots
Not bold
It opens again
Related PRs
None
How to test
pull the branch
npm run build
./manage.py runserver
Check that the homepage .gov banner opens and closes as expected.
Check a few other styles of templates to make sure there are no errors with accordions otherwise (calendar, cms, data, legal, 404?)
Check that the datatable pages' version of the .gov banner isn't bold
Summary
Moving the accordion initialization to global.js because it didn't exist in home.js but was duped in both init.js and data-init.js. Since we need it on every page, we're moving it to global
Digging in to the .gov banner, I unbolded the datatables version (its font-weight was being overridden by accordion styles).
Required reviewers
Impacted areas of the application
The .gov banner but also every accordion. We should check a few templates.
Screenshots
Not bold
It opens again
Related PRs
None
How to test
npm run build
./manage.py runserver