Skip to content

Commit b8c053d

Browse files
committed
fix index
1 parent 4d941c9 commit b8c053d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/_static/javascripts/version_dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function add_version_dropdown(json_loc, target_loc, text) {
1313
var currentURL = window.location.href;
1414
var path = currentURL.split( "_site" )[ 1 ];
1515
path = path.split('/');
16-
path = path.slice(1, path.length);
16+
path = path.slice(2, path.length);
1717
path = path.join('/');
1818
for (var key in versions) {
1919
if (versions.hasOwnProperty(key)) {

0 commit comments

Comments
 (0)