Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 4415c9a

Browse files
committed
Merge pull request #942 from github/update-1451415872
2 parents 9c92585 + ef3b269 commit 4415c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/documentation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $(function() {
44
helpList = $('#js-sidebar .js-topic'),
55
firstOccurance = true,
66
styleTOC = function() {
7-
var pathRegEx = /\/\/[^\/]+(\/.+)/g,
7+
var pathRegEx = /\/\/[^\/]+([A-Za-z0-9-_/]+)/g,
88
docUrl = pathRegEx.exec(window.location.toString())
99
if (docUrl){
1010
$('#js-sidebar .js-topic a').each(function(){

0 commit comments

Comments
 (0)