Skip to content

Commit

Permalink
> check mode_studied instead of program_or_study
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Aug 31, 2023
1 parent 1e67c88 commit 32274bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/survey/multilabel/multi-label-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ angular.module('emission.survey.multilabel.buttons',
console.log("Reading expanding inputs for ", trip);
const inputValue = trip.userInput["MODE"]? trip.userInput["MODE"].value : undefined;
console.log("Experimenting with expanding inputs for mode "+inputValue);
if (mls.ui_config.intro.program_or_study == 'program') {
if (mls.ui_config.intro.mode_studied) {
if (inputValue == mls.ui_config.intro.mode_studied) {
Logger.log("Found "+mls.ui_config.intro.mode_studied+" mode in a program, displaying full details");
trip.inputDetails = getLabelInputDetails();
Expand Down

0 comments on commit 32274bc

Please sign in to comment.