Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.

Conversation

makrohard
Copy link

Changed list creation. Replaced innerHTML with appendChild().
Changes made in createList, createNav and createList.test.
Reason: Get the script running with a Content-Security-Policy Header: require-trusted-types-for 'script' and no policy for scrollnav
Seems to work fine, all tests pass. This patch shouldn't have changed the behaviour of scrollnav at all.
Can't get codepen to load the external ressource from github. Working demo: aequometer.de

	geändert:       src/util/createNav.js
	geändert:       src/util/createList.js
	geändert:       test/tests/util/createList.test.js
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant