From: soufiane Date: Wed, 22 May 2024 15:25:20 +0000 (+0200) Subject: wip #6927 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4e983981f68dd5d67b143e35b5ca6072c24a6d25;p=fluidbook-toolbox-quiz.git wip #6927 --- diff --git a/js/quiz.accessibility.js b/js/quiz.accessibility.js index e2c9bf6..24d8a9c 100644 --- a/js/quiz.accessibility.js +++ b/js/quiz.accessibility.js @@ -23,7 +23,7 @@ QuizAccessibility.prototype = { if (key === 'ENTER') { let el = $(':focus').find('[aria-keyshortcuts]') - if($('[for="toggleDropdown"]')) { + if(this.quiz.screens.getActiveScreen().find('[for="toggleDropdown"]')) { $('[for="toggleDropdown"]:focus').get(0).click(); } if ($this.quiz.utils.isEnabled(el)) {