diff --git a/Documentation/doc/resources/1.8.13/hacks.js b/Documentation/doc/resources/1.8.13/hacks.js index 4c0436c91d2..7d81b479149 100644 --- a/Documentation/doc/resources/1.8.13/hacks.js +++ b/Documentation/doc/resources/1.8.13/hacks.js @@ -46,6 +46,10 @@ $(document).ready(function() { // override gotoNode from navtree.js gotoNode = function (o,subIndex,root,hash,relpath) { var nti = navTreeSubIndices[subIndex][root+hash]; + if (!nti) + { + nti = navTreeSubIndices[subIndex][root]; + } if(nti && (nti[0] === 1 && nti[0])) { nti.splice(1, 1); } diff --git a/Documentation/doc/resources/1.8.14/hacks.js b/Documentation/doc/resources/1.8.14/hacks.js index 4c0436c91d2..7d81b479149 100644 --- a/Documentation/doc/resources/1.8.14/hacks.js +++ b/Documentation/doc/resources/1.8.14/hacks.js @@ -46,6 +46,10 @@ $(document).ready(function() { // override gotoNode from navtree.js gotoNode = function (o,subIndex,root,hash,relpath) { var nti = navTreeSubIndices[subIndex][root+hash]; + if (!nti) + { + nti = navTreeSubIndices[subIndex][root]; + } if(nti && (nti[0] === 1 && nti[0])) { nti.splice(1, 1); }