Github user dblotsky commented on a diff in the pull request:
https://github.com/apache/cordova-docs/pull/457#discussion_r50165370
--- Diff: www/static/js/docs.js ---
@@ -48,7 +57,10 @@ $(document).ready(function () {
// add a special class to the anchor for this toc entry
var anchorName = getAnchorName(i, heading, prefix);
$('#' + anchorName).addClass('fragment-anchor');
-
+ if (i > 0) {
+ // the first link is the header of the page - exclude it
--- End diff --
Nitpick: please put the comment above the `if`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]