Skip to content

Commit

Permalink
HTML Reporter: Fix <label> to wrap <select> for multi-value urlCo…
Browse files Browse the repository at this point in the history
…nfig item

Details and screenshot at #1773.
  • Loading branch information
Krinkle authored Jul 3, 2024
1 parent 0f6589a commit 80a1695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reporters/HtmlReporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function getUrlConfigHtml (config) {
let selection = false;
urlConfigHtml += "<label for='qunit-urlconfig-" + escaped +
"' title='" + escapedTooltip + "'>" + val.label +
": </label><select id='qunit-urlconfig-" + escaped +
": <select id='qunit-urlconfig-" + escaped +
"' name='" + escaped + "' title='" + escapedTooltip + "'><option></option>";

if (Array.isArray(val.value)) {
Expand Down Expand Up @@ -111,7 +111,7 @@ function getUrlConfigHtml (config) {
urlConfigHtml += "<option value='" + escaped +
"' selected='selected' disabled='disabled'>" + escaped + '</option>';
}
urlConfigHtml += '</select>';
urlConfigHtml += '</select></label>';
}
}

Expand Down

0 comments on commit 80a1695

Please sign in to comment.