bug(versionpicker): fix missing / in commit ee5096f
This commit is contained in:
parent
b2f2fb87ec
commit
a9cbba4178
|
@ -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]]
|
||||
|
|
Loading…
Reference in New Issue