From: soufiane Date: Mon, 27 Nov 2023 14:42:37 +0000 (+0100) Subject: wait #6459 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4c8000c69c53b348429eb257ebe01a77fcc42655;p=fluidbook-toolbox-quiz.git wait #6459 --- diff --git a/js/quiz.draganddrop.js b/js/quiz.draganddrop.js index cfe67e5..dbe9d0b 100644 --- a/js/quiz.draganddrop.js +++ b/js/quiz.draganddrop.js @@ -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); }); },