Commit fd3d102a authored by Ezio Melotti's avatar Ezio Melotti

#8040: fix the version.

parent 8645890f
...@@ -52,8 +52,12 @@ ...@@ -52,8 +52,12 @@
} }
$(document).ready(function() { $(document).ready(function() {
var select = build_select(DOCUMENTATION_OPTIONS.VERSION, var version = DOCUMENTATION_OPTIONS.VERSION.split('.'),
DOCUMENTATION_OPTIONS.RELEASE); release = DOCUMENTATION_OPTIONS.RELEASE || DOCUMENTATION_OPTIONS.VERSION;
version = version[0] + '.' + version[1];
var select = build_select(version, release);
$('.version_switcher_placeholder').html(select); $('.version_switcher_placeholder').html(select);
$('.version_switcher_placeholder select').bind('change', on_switch); $('.version_switcher_placeholder select').bind('change', on_switch);
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment