Commit e5b1023a authored by Ezio Melotti's avatar Ezio Melotti

#8040: fix the version.

parent 58864b3c
......@@ -52,8 +52,12 @@
}
$(document).ready(function() {
var select = build_select(DOCUMENTATION_OPTIONS.VERSION,
DOCUMENTATION_OPTIONS.RELEASE);
var version = DOCUMENTATION_OPTIONS.VERSION.split('.'),
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 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