Description
The NodeList.prototype.forEach
is not available on all browsers and therefore throws an error that prevents other JavaScript from executing properly. IE, Edge < 16 and Safari < 10 are relatively recent browsers that are affected.
When working with NodeLists, use a standard for
loop or convert the NodeList to an array to avoid this issue.
As a friendly reminder to the community, please keep docsify's supported browsers (IE10+) in mind when modifying docsify or plugins. Ideally, changes should be tested in target browsers (IE, Edge, Chrome, Firefox, and Safari) before going live. Free access to these browsers is available by signing up for a open source developer account with https://www.browserstack.com/, https://saucelabs.com/, or similar services.