aboutsummaryrefslogtreecommitdiffstats
path: root/doc/toc.html
diff options
context:
space:
mode:
authorAndrew Manning <andrew@reticu.li>2016-11-30 22:24:44 -0500
committerAndrew Manning <andrew@reticu.li>2016-11-30 22:24:44 -0500
commitdfaf1164496a7b2ca657f0862d34bab803c06516 (patch)
treeb0c5b522906e82775e8cbcdd152896e9ee201985 /doc/toc.html
parent41362e2b6ec63ead64af2578e3843e90f45395cb (diff)
downloadvolse-hubzilla-dfaf1164496a7b2ca657f0862d34bab803c06516.tar.gz
volse-hubzilla-dfaf1164496a7b2ca657f0862d34bab803c06516.tar.bz2
volse-hubzilla-dfaf1164496a7b2ca657f0862d34bab803c06516.zip
Add resources and links. Fix bug where table of contents was not generated if URL had a sectionspecified like /help/blah#anchor
Diffstat (limited to 'doc/toc.html')
-rw-r--r--doc/toc.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/toc.html b/doc/toc.html
index e0200c1e1..047032437 100644
--- a/doc/toc.html
+++ b/doc/toc.html
@@ -408,7 +408,7 @@
window.console.log($(this).attr('href'));
var url = document.createElement('a');
url.href = window.location;
- var pageName = url.href.split('/').pop();
+ 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);