Skip to content

Commit

Permalink
merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairraeen committed Jan 8, 2024
1 parent 96b3953 commit 98e392c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions css/qsm-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -1339,9 +1339,6 @@ body:not(.qsm_page_qmn_global_settings) .form-table td fieldset label {
.qsm-font-light {
font-weight: 300;
}
.qsm-font-light {
font-weight: 300;
}
.form-table .qsm-opt-tr {
position: relative;
}
Expand Down
4 changes: 1 addition & 3 deletions js/qsm-quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@ function qmnInit() {
let quiz_form_id = $this.parents('.qsm-quiz-form').attr('id');
let quiz_id = quiz_form_id.replace('quizForm', '');
let question_id = $this.attr('name').replace(/question/i, '');
let data = qsm_question_quick_result_js(question_id, value, '', qmn_quiz_data[quiz_id].enable_quick_correct_answer_info,quiz_id);
if (data.success == 'correct') {
$this.parent().addClass("qmn_correct_answer");
} else if (data.success == 'incorrect') {
Expand Down Expand Up @@ -1329,9 +1330,6 @@ function qmnInitPagination(quiz_id) {

jQuery(document).trigger('qsm_init_pagination_after', [quiz_id, qmn_quiz_data]);
}
jQuery(document).on('qsm_next_button_click_after qsm_previous_button_click_after', function(event, quiz_id) {
let video_sections = jQuery(`.qsm-quiz-container-${quiz_id}.qmn_quiz_container`).find('video');
let iframeVideos = jQuery(`.qsm-quiz-container-${quiz_id}.qmn_quiz_container`).find('iframe');

jQuery(document).on('qsm_next_button_click_after qsm_previous_button_click_after', function(event, quiz_id) {
let video_sections = jQuery(`.qsm-quiz-container-${quiz_id}.qmn_quiz_container`).find('video');
Expand Down

0 comments on commit 98e392c

Please sign in to comment.