diff --git a/Documentation/User Manual/includes/include.js b/Documentation/User Manual/includes/include.js index 556057921ccf2a747e3dd997f84c7169c4ee1884..0c2afe9872643f7c0d0ae0f98f800fea8c893b51 100644 --- a/Documentation/User Manual/includes/include.js +++ b/Documentation/User Manual/includes/include.js @@ -58,13 +58,14 @@ function CheckGeneratedLinks() { var link=jQuery(elem).attr("href"); if(link.startsWith("javascript:")) {return true} if (!link.startsWith("#")) { content.append("ignoring: " + link +"<br/>"); return true; } - var node=jQuery(link); + var node=jQuery("*[id='" + link.replace("#", "") + "']"); if (node.length) { content.append("found: " + link) } else { content.append("missing: " + link) }; - content.append("<br/>"); }); + content.append("<br/>"); + }); } </script> \ No newline at end of file