summaryrefslogtreecommitdiffstats
path: root/documentation/sphinx-static/switchers.js.in
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/sphinx-static/switchers.js.in')
-rw-r--r--documentation/sphinx-static/switchers.js.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/sphinx-static/switchers.js.in b/documentation/sphinx-static/switchers.js.in
index 4966b3033d..7eb0c2ff34 100644
--- a/documentation/sphinx-static/switchers.js.in
+++ b/documentation/sphinx-static/switchers.js.in
@@ -9,7 +9,7 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b
9(function() { 9(function() {
10 'use strict'; 10 'use strict';
11 11
12 var all_versions = { 12 var switcher_versions = {
13 VERSIONS_PLACEHOLDER 13 VERSIONS_PLACEHOLDER
14 }; 14 };
15 15
@@ -65,7 +65,7 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b
65 function build_version_select(current_series, current_version) { 65 function build_version_select(current_series, current_version) {
66 var buf = ['<select>']; 66 var buf = ['<select>'];
67 67
68 $.each(all_versions, function(version, vers_data) { 68 $.each(switcher_versions, function(version, vers_data) {
69 var series = version.substr(0, 3); 69 var series = version.substr(0, 3);
70 if (series == current_series) { 70 if (series == current_series) {
71 if (version == current_version) 71 if (version == current_version)
@@ -218,7 +218,7 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b
218 $('.doctype_switcher_placeholder select').bind('change', on_doctype_switch); 218 $('.doctype_switcher_placeholder select').bind('change', on_doctype_switch);
219 219
220 if (release != "dev") { 220 if (release != "dev") {
221 $.each(all_versions, function(version, vers_data) { 221 $.each(switcher_versions, function(version, vers_data) {
222 var series = version.substr(0, 3); 222 var series = version.substr(0, 3);
223 if (series == current_series) { 223 if (series == current_series) {
224 if (version != release) { 224 if (version != release) {