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 b257870 commit ad0e851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions version_switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
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.display_name;
buf.push('<option value="' + version + '"');
if (version == current_version) {
buf.push(' selected="selected">');
Expand Down

0 comments on commit ad0e851

Please sign in to comment.