Loading rxq/html.xqm +2 −1 Changes for rxq/html.xqm: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -257,7 +257,8 @@ declare function max.html:getFooter($project){ declare function max.html:getNavbarForDocument($project, $doc, $selectedId){ let $xml := max.toc:getDocumentTOC($project, $doc) (:max.route:getRouteNavigationEntriesAsHTML($project, $routeId):) return if (count($xml//ul/li) > 1) let $hasTarget := $xml//ul//li[@id=$selectedId] return if (count($xml//ul/li) > 1 and $hasTarget) then xslt:transform($xml, max.config:getNavigationBarXSL($project), Loading Loading
rxq/html.xqm +2 −1 Changes for rxq/html.xqm: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -257,7 +257,8 @@ declare function max.html:getFooter($project){ declare function max.html:getNavbarForDocument($project, $doc, $selectedId){ let $xml := max.toc:getDocumentTOC($project, $doc) (:max.route:getRouteNavigationEntriesAsHTML($project, $routeId):) return if (count($xml//ul/li) > 1) let $hasTarget := $xml//ul//li[@id=$selectedId] return if (count($xml//ul/li) > 1 and $hasTarget) then xslt:transform($xml, max.config:getNavigationBarXSL($project), Loading