From: soufiane Date: Wed, 22 May 2024 14:25:54 +0000 (+0200) Subject: wip #6927 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8313f717b254dfb2648200de3be8463a420a7373;p=fluidbook-toolbox-quiz.git wip #6927 --- diff --git a/js/quiz.accessibility.js b/js/quiz.accessibility.js index 437e207..aa383f7 100644 --- a/js/quiz.accessibility.js +++ b/js/quiz.accessibility.js @@ -25,7 +25,7 @@ QuizAccessibility.prototype = { let el = $(':focus').find('[aria-keyshortcuts]') if(el.length < 1) { console.log('ok') - $(':focus').get(0).click(); + //$(':focus').get(0).click(); } if ($this.quiz.utils.isEnabled(el)) { el.get(0).click((e) => { return false; }); diff --git a/js/quiz.screens.js b/js/quiz.screens.js index 2ae8946..fcf7c39 100644 --- a/js/quiz.screens.js +++ b/js/quiz.screens.js @@ -45,7 +45,6 @@ QuizScreens.prototype = { // $(document).on("click", ".btn.moreinfo, .close-explaination", function (e) { e.preventDefault(); - e.stopPropagation(); $this.showExplaination(); });