Skip to content

Commit

Permalink
update version select prompt text (#2458)
Browse files Browse the repository at this point in the history
  • Loading branch information
jingxu10 authored Jan 11, 2024
1 parent 6356c8d commit 3ff394f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _scripts/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,10 @@ $(document).ready(function() {
elem_sel.setAttribute("id", stage.toLowerCase() + "-options");
var opt = document.createElement("option");
opt.setAttribute("value", "na");
opt.innerHTML = "select a " + stage.toLowerCase();
txt_history = "";
if(stage.toLowerCase() == "version")
txt_history = "history ";
opt.innerHTML = "select a " + txt_history + stage.toLowerCase();
elem_sel.append(opt);
$.each(items, function(index, value) {
if(index < num_elem - 1) {
Expand Down

0 comments on commit 3ff394f

Please sign in to comment.