Skip to content

Commit

Permalink
Continuing js debug
Browse files Browse the repository at this point in the history
  • Loading branch information
greenc-FNAL committed Sep 26, 2023
1 parent ad0e851 commit 04b2415
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion git-develop/searchindex.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions version_switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
function build_select(current_version, current_release) {
let buf = ['<select>'];

$.each(all_versions.ordered_versions, function(version) {
var title = all_versions.version_entries.display_name;
$.each(all_versions['ordered-versions'], function(version) {
var title = all_versions.['version-entries'][version].display_name;
buf.push('<option value="' + version + '"');
if (version == current_version) {
if (title == current_version) {
buf.push(' selected="selected">');
if (version[0] == 'v') {
buf.push(current_release);
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"latest version" : "3.22",
"latest-version" : "3.22",
"ordered-versions" :
[
"git-develop",
Expand Down

0 comments on commit 04b2415

Please sign in to comment.