diff options
Diffstat (limited to 'doc/toc.html')
-rw-r--r-- | doc/toc.html | 2 |
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); |