Skip to content

Commit

Permalink
Fix bug when using numerical eQ ID (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
MebinAbraham authored Feb 18, 2022
1 parent f637bb1 commit 740516d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/launch.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h3>${survey_type} Survey Metadata</h3>
document.querySelector("#flush-btn").disabled = true;

const schema_name = document.querySelector("#schema_name").value
const survey_type = document.querySelector(`#schema_name option[value=${schema_name}]`).dataset.surveyType
const survey_type = document.querySelector(`#schema_name option[value="${schema_name}"]`).dataset.surveyType

if (survey_type.toLowerCase() === "test") {
clearSurveyMetadataFields()
Expand Down

0 comments on commit 740516d

Please sign in to comment.