Skip to content

Commit 68eb182

Browse files
committed
Doc's update to add fix
1 parent 049aa32 commit 68eb182

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/doxygen-custom-page-injector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ document.addEventListener("DOMContentLoaded", () => {
4141
// Proceed if the new document is loaded
4242
document.addEventListener("DOMContentLoaded", () => {
4343
// Check if a value for nav to is provided
44-
if (navToValue != null) {
44+
if (navToValue != null && navTo != null) {
4545
// Wrap the original navTo function from doxygen into custom function
4646
let originalNavToFunc = navTo;
4747
navTo = (o, root, hash, relpath) => {

0 commit comments

Comments
 (0)