bug(versionpicker): fix missing / in commit ee5096f

This commit is contained in:
Naomi Black 2016-03-18 01:56:52 -07:00
parent b2f2fb87ec
commit a9cbba4178
1 changed files with 4 additions and 4 deletions

View File

@ -11,15 +11,15 @@ if current.path[2]
if current.path[6]
if public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]][current.path[5]][current.path[6]]
- var page = current.path[3] + '/' + current.path[4] + current.path[5] + current.path[6] + '/'
- var page = current.path[3] + '/' + current.path[4] + '/' + current.path[5] + '/' + current.path[6] + '/'
else
- var page = current.path[3] + '/' + current.path[4] + current.path[5] + current.path[6] + '.html'
- var page = current.path[3] + '/' + current.path[4] + '/' + current.path[5] + '/' + current.path[6] + '.html'
else if current.path[5]
if public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]][current.path[5]]
- var page = current.path[3] + '/' + current.path[4] + current.path[5] + '/'
- var page = current.path[3] + '/' + current.path[4] + '/' + current.path[5] + '/'
else
- var page = current.path[3] + '/' + current.path[4] + current.path[5] + '.html'
- var page = current.path[3] + '/' + current.path[4] + '/' + current.path[5] + '.html'
else if current.path[4]
if public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]