From: soufiane Date: Wed, 22 May 2024 13:01:00 +0000 (+0200) Subject: wip #6927 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=aed3b5453ceaee88a7fef850f06131e074c19c38;p=fluidbook-toolbox-quiz.git wip #6927 --- diff --git a/js/quiz.accessibility.js b/js/quiz.accessibility.js index aa817ee..1db6f1a 100644 --- a/js/quiz.accessibility.js +++ b/js/quiz.accessibility.js @@ -23,12 +23,6 @@ QuizAccessibility.prototype = { if (key === 'ENTER') { let el = $(':focus').find('[aria-keyshortcuts]') - if(!el) { - $('a[href="#"]').click(function (e){ - e.preventDefault() - return false; - }) - } if ($this.quiz.utils.isEnabled(el)) { el.get(0).click((e) => { return false; }); return true; diff --git a/js/quiz.screens.js b/js/quiz.screens.js index d37ea7d..3636206 100644 --- a/js/quiz.screens.js +++ b/js/quiz.screens.js @@ -53,7 +53,6 @@ QuizScreens.prototype = { }); $(document).on('click', 'a[href="#"]' ,function (e){ - e.preventDefault() return false; })