From: soufiane Date: Wed, 22 May 2024 15:27:04 +0000 (+0200) Subject: wip #6927 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e2e81f75f40bea85312f9896e4a1957d65004fb3;p=fluidbook-toolbox-quiz.git wip #6927 --- diff --git a/js/quiz.accessibility.js b/js/quiz.accessibility.js index 24d8a9c..6ece534 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(this.quiz.screens.getActiveScreen().find('[for="toggleDropdown"]')) { + if($this.quiz.screens.getActiveScreen().find('[for="toggleDropdown"]')) { $('[for="toggleDropdown"]:focus').get(0).click(); } if ($this.quiz.utils.isEnabled(el)) {