From 348a9e37e3683571265b5bb3f160342de8a5d209 Mon Sep 17 00:00:00 2001 From: PranavAwasthi Date: Fri, 13 Dec 2024 16:39:14 +0530 Subject: [PATCH] added a trigger in timer function --- js/qsm-quiz.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/qsm-quiz.js b/js/qsm-quiz.js index dfdd397b..c00b575d 100644 --- a/js/qsm-quiz.js +++ b/js/qsm-quiz.js @@ -229,6 +229,7 @@ var qsmTimerInterval = []; $('.qsm-quiz-container-' + quizID).find('.stoptimer-p').hide(); MicroModal.show('modal-3'); } + jQuery(document).trigger('qsm_timer_ended', [quizID, qmn_quiz_data, qsm_timer_consumed_obj]); return; } },