chore(docs): correct version drowp down links in nightly build

This commit is contained in:
Perry Govier
2014-06-16 12:30:30 -05:00
parent ae8136d21d
commit 3c711df166

View File

@@ -1,7 +1,7 @@
<select onchange="window.location.href=this.options[this.selectedIndex].value">
<@ for ver in version.list @>
<option
value="<$ ver.href $>/{% if page.path %}{{page.path}}{% endif %}"
value="<$ ver.href $>/{% if page.path != ''%}{{page.path}}{% else %}api/{% endif %}"
{% if page.version == "<$ ver.name $>"%}selected{% endif %}>
<$ ver.name $> <@ if version.latest.name == ver.name @>(latest)<@ endif @>
</option>