diff --git a/code/controllers/DocumentationViewer.php b/code/controllers/DocumentationViewer.php index 9a59a2c..9c577df 100755 --- a/code/controllers/DocumentationViewer.php +++ b/code/controllers/DocumentationViewer.php @@ -546,7 +546,10 @@ class DocumentationViewer extends Controller { return $children; } - } + } else { + if ($page->getRelativeLink() == $this->Remaining[$level]) { + $page->LinkingMode = 'current'; + } } return false;