mirror of https://github.com/CGAL/cgal
fix navtree hack
in recent doxygen version hash is always '#' making our check failing The fix is to fallback to default used later one
This commit is contained in:
parent
9b3a04103e
commit
d6cb114940
|
|
@ -46,6 +46,10 @@ $(document).ready(function() {
|
||||||
// override gotoNode from navtree.js
|
// override gotoNode from navtree.js
|
||||||
gotoNode = function (o,subIndex,root,hash,relpath) {
|
gotoNode = function (o,subIndex,root,hash,relpath) {
|
||||||
var nti = navTreeSubIndices[subIndex][root+hash];
|
var nti = navTreeSubIndices[subIndex][root+hash];
|
||||||
|
if (!nti)
|
||||||
|
{
|
||||||
|
nti = navTreeSubIndices[subIndex][root];
|
||||||
|
}
|
||||||
if(nti && (nti[0] === 1 && nti[0])) {
|
if(nti && (nti[0] === 1 && nti[0])) {
|
||||||
nti.splice(1, 1);
|
nti.splice(1, 1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,10 @@ $(document).ready(function() {
|
||||||
// override gotoNode from navtree.js
|
// override gotoNode from navtree.js
|
||||||
gotoNode = function (o,subIndex,root,hash,relpath) {
|
gotoNode = function (o,subIndex,root,hash,relpath) {
|
||||||
var nti = navTreeSubIndices[subIndex][root+hash];
|
var nti = navTreeSubIndices[subIndex][root+hash];
|
||||||
|
if (!nti)
|
||||||
|
{
|
||||||
|
nti = navTreeSubIndices[subIndex][root];
|
||||||
|
}
|
||||||
if(nti && (nti[0] === 1 && nti[0])) {
|
if(nti && (nti[0] === 1 && nti[0])) {
|
||||||
nti.splice(1, 1);
|
nti.splice(1, 1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue