Skip to content
This repository was archived by the owner on Jun 10, 2023. It is now read-only.

Commit ef3b269

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 9c92585 commit ef3b269

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)