diff --git a/msmb_theme/static/js/versions.js b/msmb_theme/static/js/versions.js index 5bc6ac3..9715c5d 100644 --- a/msmb_theme/static/js/versions.js +++ b/msmb_theme/static/js/versions.js @@ -3,14 +3,14 @@ // get all of the releases from versions.json, and use these to populate the // dropdown menu of different releases $(document).ready(function () { - // Define base_url in versions.html, probably through a template variable + // Define versions_json_url in versions.html through a template variable $.getJSON(versions_json_url) .done(function (data) { $.each(data.sort(function (a, b) { return a.version > b.version }), function (i, item) { $("
").append( - $("").text(item.version).attr('href', item.url) + $("").text(item.display).attr('href', item.url) ).appendTo("#versionselector"); }); })