From df5524979dee105df0388a939e91cd3b14f989ba Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Wed, 1 Feb 2017 20:39:27 -0500 Subject: Integrate tags and mentions page doco into member guide. Fix bug when loading page with section link. Change URL when scrolling to stay current with viewed section to facilitate easy help page link sharing. --- doc/toc.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'doc/toc.html') diff --git a/doc/toc.html b/doc/toc.html index eeb0fe437..4c52c5e74 100644 --- a/doc/toc.html +++ b/doc/toc.html @@ -72,13 +72,10 @@ // Generate the table of contents in the side nav menu (see view/tpl/help.tpl) $(document).ready(function () { $(".panel-collapse.in").find('a').each(function(){ - window.console.log($(this).attr('href')); var url = document.createElement('a'); url.href = window.location; var pageName = url.href.split('/').pop().split('#').shift(); - window.console.log('pageName: ' + pageName); var linkName = $(this).attr('href').split('/').pop(); - window.console.log('linkName: ' + linkName); if(pageName === linkName) { var tocUl = $(this).closest('li').append('