From: soufiane Date: Tue, 21 May 2024 14:35:46 +0000 (+0200) Subject: wip #6927 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d9cead01cd5badeb9d16ccd6635728589b7a4caf;p=fluidbook-toolbox-quiz.git wip #6927 --- diff --git a/js/quiz.draganddrop.js b/js/quiz.draganddrop.js index 5f9b80c..b85bb4d 100644 --- a/js/quiz.draganddrop.js +++ b/js/quiz.draganddrop.js @@ -23,6 +23,9 @@ QuizDragAndDrop.prototype = { } else { zone = 'zone-2'; } + + let index = $this.activeScreen.find(".list-item:nth-child(1)").data('id') + $this.sendCurrentAnswerToArea(zone,index); }); diff --git a/views/screens/arrow.blade.php b/views/screens/arrow.blade.php index 5a50208..71f5938 100644 --- a/views/screens/arrow.blade.php +++ b/views/screens/arrow.blade.php @@ -7,10 +7,11 @@ $key='ARROWRIGHT'; } @endphp - -
-

{{$text}}

- +