mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#8040: merge with 3.2.
This commit is contained in:
commit
edde409f60
1 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue