Skip to content

Commit

Permalink
update hide correct checkbox class'
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairraeen committed Apr 23, 2024
1 parent dba63f0 commit 9fb5dab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/qsm-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2537,9 +2537,9 @@ var import_button;
}
if (qsmQuestionSettings.form_type == 0) {
if (questionType == 14) {
$('.correct-answer').hide();
$('.answer-correct-div').hide();
} else {
$('.correct-answer').show();
$('.answer-correct-div').show();
}
}

Expand Down Expand Up @@ -3409,9 +3409,9 @@ var import_button;
}
}
if (14 == question_val) {
$('.correct-answer').hide();
$('.answer-correct-div').hide();
} else {
$('.correct-answer').show();
$('.answer-correct-div').show();
}
if (15 == question_val || 16 == question_val || 17 == question_val) {
MicroModal.show('modal-advanced-question-type');
Expand Down

0 comments on commit 9fb5dab

Please sign in to comment.