[ https://issues.apache.org/jira/browse/CB-10367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107306#comment-15107306 ]
ASF GitHub Bot commented on CB-10367: ------------------------------------- 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`. > Add meaningful names to heading anchors in Docs & show a link icon on hover > --------------------------------------------------------------------------- > > Key: CB-10367 > URL: https://issues.apache.org/jira/browse/CB-10367 > Project: Apache Cordova > Issue Type: Improvement > Components: Docs > Reporter: Nikhil Khandelwal > Priority: Minor > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org