From 98e392cb401787bdd01b141727b9cec83d63f9da Mon Sep 17 00:00:00 2001 From: Mohammad Zubair Ali Date: Mon, 8 Jan 2024 15:57:18 +0530 Subject: [PATCH] merge with master --- css/qsm-admin.css | 3 --- js/qsm-quiz.js | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/css/qsm-admin.css b/css/qsm-admin.css index 903850469..76184df02 100644 --- a/css/qsm-admin.css +++ b/css/qsm-admin.css @@ -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; } diff --git a/js/qsm-quiz.js b/js/qsm-quiz.js index eade24f54..7d7ee9796 100644 --- a/js/qsm-quiz.js +++ b/js/qsm-quiz.js @@ -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') { @@ -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');