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
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