]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6459
authorsoufiane <soufiane@cubedesigners.com>
Mon, 27 Nov 2023 14:42:37 +0000 (15:42 +0100)
committersoufiane <soufiane@cubedesigners.com>
Mon, 27 Nov 2023 14:42:37 +0000 (15:42 +0100)
js/quiz.draganddrop.js

index cfe67e5c8edd404d856ffa583605d1dc47e79e5a..dbe9d0bc3d19264c5efd751e9e9dc7c2e376b924 100644 (file)
@@ -24,7 +24,7 @@ QuizDragAndDrop.prototype = {
                 zone = 'zone-2';
             }
 
-            let index = $this.activeScreen.find(".list-item").eq(0).data('id')
+            let index = $this.activeScreen.find(".list-item:nth-child(1)").data('id')
             $this.sendCurrentAnswerToArea(zone,index);
         });
     },